Elements-SY

modify

...@@ -6,7 +6,6 @@ const WIDTH = 992; // refer to Bootstrap's responsive design ...@@ -6,7 +6,6 @@ const WIDTH = 992; // refer to Bootstrap's responsive design
6 export default { 6 export default {
7 watch: { 7 watch: {
8 $route(route) { 8 $route(route) {
9 - this.getBlockCurrentHeight();
10 if (this.device === "mobile" && this.sidebar.opened) { 9 if (this.device === "mobile" && this.sidebar.opened) {
11 store.dispatch("app/closeSideBar", { withoutAnimation: false }); 10 store.dispatch("app/closeSideBar", { withoutAnimation: false });
12 } 11 }
...@@ -24,9 +23,6 @@ export default { ...@@ -24,9 +23,6 @@ export default {
24 store.dispatch("app/toggleDevice", "mobile"); 23 store.dispatch("app/toggleDevice", "mobile");
25 store.dispatch("app/closeSideBar", { withoutAnimation: true }); 24 store.dispatch("app/closeSideBar", { withoutAnimation: true });
26 } 25 }
27 - this.$nextTick(()=>{
28 - this.getBlockCurrentHeight();
29 - })
30 }, 26 },
31 methods: { 27 methods: {
32 // use $_ for mixins properties 28 // use $_ for mixins properties
......