Commit affc010b3b24bcaf29bbad44e32084b0b28393f0

Authored by zhigang.li
1 parent d85e5726

add default value 'md' for breakpoint about sider.vue

examples/routers/layout.vue
... ... @@ -4,7 +4,6 @@
4 4 <Sider
5 5 v-model="isCollapsed"
6 6 collapsed-width="0"
7   - breakpoint="md"
8 7 ref="side"
9 8 width="200">
10 9 <Menu width="auto" theme="dark" active-name="1">
... ...
src/components/layout/sider.vue
... ... @@ -39,7 +39,7 @@
39 39 },
40 40 breakpoint: {
41 41 type: String,
42   - default: '',
  42 + default: 'md',
43 43 validator (val) {
44 44 return oneOf(val, ['xs', 'sm', 'md', 'lg', 'xl']);
45 45 }
... ...