推广数据

master
Caps 6 years ago
parent 609218ab1f
commit b93455df22

@ -74,6 +74,9 @@
this.bus.$on('callBack', function () {
that.callBack();
})
this.bus.$on('setHeader', function (data) {
that.setHeader(data);
})
},
created() {
this.mHeight = window.screen.availHeight - 22;
@ -249,6 +252,13 @@
that.$refs.menu.updateActiveName();
})
},
setHeader(data){
let that = this;
this.selectedSubMenu = data.header;
this.$nextTick(() => {
that.$refs.menu.updateActiveName();
})
}
},
}

Loading…
Cancel
Save