This commit is contained in:
2019-05-02 20:30:11 +00:00
parent 8f926222f9
commit 006fba9d29
4 changed files with 82 additions and 27 deletions

View File

@@ -157,12 +157,12 @@ export default {
vm: menuItem.vm ? menuItem.vm : null
};
},
///////////////////////////////
// WIRE UP MAIN APP EVENTS
///////////////////////////////////
// WIRE UP MENU EVENTS
//
// called only by app.vue
// called once from app.vue only
//
wireUpAppEventHandlers(vm) {
wireUpEventHandlers(vm) {
var self = this;
vm.$gzevent.$on("menu-change", function handleMenuChange(ctx) {
self.handleMenuChange(vm, ctx);