diff --git a/examples/routers/layout.vue b/examples/routers/layout.vue
index 74f959ed..3ff0559b 100644
--- a/examples/routers/layout.vue
+++ b/examples/routers/layout.vue
@@ -4,6 +4,7 @@
@@ -29,6 +30,7 @@
+
@@ -51,6 +53,11 @@ export default {
toggleCollapse () {
this.$refs.side.toggleCollapse();
}
+ },
+ watch: {
+ isCollapsed (val) {
+ // console.log(val)
+ }
}
};
diff --git a/src/components/layout/sider.vue b/src/components/layout/sider.vue
index e35df6cf..c9a1ef44 100644
--- a/src/components/layout/sider.vue
+++ b/src/components/layout/sider.vue
@@ -8,9 +8,11 @@
-
-
-
+
+
+
+
+
\ No newline at end of file