Commit dde05cd5 by liimin

1

1 parent 7ac39e9c
...@@ -21,16 +21,17 @@ export default { ...@@ -21,16 +21,17 @@ export default {
nav4: [] nav4: []
} }
}, },
watch: { // watch: {
current: { // current: {
handler() { // handler() {
this.onLoad() // this.onLoad()
}, // },
immediate: true // immediate: true
} // }
}, // },
mounted() { mounted() {
this.bus.$on('menu3Changed', this.onMenu3Changed) this.bus.$on('menu3Changed', this.onMenu3Changed)
this.onLoad()
}, },
beforeDestroy() { beforeDestroy() {
this.bus.$off('menu3Changed', this.onMenu3Changed) this.bus.$off('menu3Changed', this.onMenu3Changed)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!