platform_web/src/components/system/menu/OperaMenuWindow.vue
@@ -73,6 +73,7 @@ * @type: 0平台 1、企业 2、h5 */ open (title, target, parent, type) { debugger this.title = title this.visible = true // 新建,menu为空时表示新建菜单 @@ -80,10 +81,10 @@ this.excludeMenuId = null this.$nextTick(() => { this.$refs.form.resetFields() this.form.type = type this.form.id = null this.form.parentId = parent == null ? null : parent.id this.parentName = parent == null ? null : parent.name this.form.type = type }) return } @@ -93,7 +94,6 @@ for (const key in this.form) { this.form[key] = target[key] } this.form.type = type }) } },