diff --git a/examples/routers/layout.vue b/examples/routers/layout.vue index 980a8037..2369f9bf 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 ff5bff35..b3a782c1 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']); }