This commit is contained in:
2019-12-05 00:57:26 +00:00
parent 57fba0489a
commit b15e282306
2 changed files with 2 additions and 10 deletions

View File

@@ -143,9 +143,7 @@ export default new Router({
path: "/customize/:formCustomTemplateKey", path: "/customize/:formCustomTemplateKey",
name: "customize", name: "customize",
component: () => component: () =>
import( import(/* webpackChunkName: "customize" */ "./views/customize.vue")
/* webpackChunkName: "inventory-widget-edit" */ "./views/customize.vue"
)
}, },
{ {
path: "*", path: "*",

View File

@@ -73,6 +73,7 @@ export default {
window.$gz.locale.fetch(ltKeysRequired).then(next()); window.$gz.locale.fetch(ltKeysRequired).then(next());
}, },
beforeCreate() { beforeCreate() {
alert("HELLO");
debugger; debugger;
var vm = this; var vm = this;
initForm(this) initForm(this)
@@ -203,13 +204,6 @@ export default {
window.$gz.errorHandler.handleFormError(error, vm); window.$gz.errorHandler.handleFormError(error, vm);
}); });
} }
},
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "sliders-h",
title: window.$gz.locale.get("Customize")
});
} }
}; };