From affc010b3b24bcaf29bbad44e32084b0b28393f0 Mon Sep 17 00:00:00 2001 From: zhigang.li Date: Tue, 19 Dec 2017 10:51:57 +0800 Subject: [PATCH] add default value 'md' for breakpoint about sider.vue --- examples/routers/layout.vue | 1 - src/components/layout/sider.vue | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/routers/layout.vue b/examples/routers/layout.vue index 980a803..2369f9b 100644 --- a/examples/routers/layout.vue +++ b/examples/routers/layout.vue @@ -4,7 +4,6 @@ diff --git a/src/components/layout/sider.vue b/src/components/layout/sider.vue index ff5bff3..b3a782c 100644 --- a/src/components/layout/sider.vue +++ b/src/components/layout/sider.vue @@ -39,7 +39,7 @@ }, breakpoint: { type: String, - default: '', + default: 'md', validator (val) { return oneOf(val, ['xs', 'sm', 'md', 'lg', 'xl']); } -- libgit2 0.21.4