diff --git a/src/views/modules/sys/menu-add-or-update.vue b/src/views/modules/sys/menu-add-or-update.vue index f15e0a0..72e4ece 100644 --- a/src/views/modules/sys/menu-add-or-update.vue +++ b/src/views/modules/sys/menu-add-or-update.vue @@ -11,11 +11,11 @@ {{ type }} - - + + - - + + { this.menuList = treeDataTranslate(data.menuList, 'menuId') - console.log( this.menuList) }).then(() => { this.visible = true this.$nextTick(() => { @@ -216,7 +215,7 @@ searchFunctionButtonList(queryButton).then(({data}) => { if (data.code == 0 && data.data) { this.buttons = data.data - this.typeList= [this.buttons.type1,this.buttons.type2,this.buttons.type3] + this.typeList= [this.buttons.type1, this.buttons.type2, this.buttons.type3] } }) }, diff --git a/src/views/modules/sys/menu.vue b/src/views/modules/sys/menu.vue index 7280733..a5bcfee 100644 --- a/src/views/modules/sys/menu.vue +++ b/src/views/modules/sys/menu.vue @@ -38,7 +38,6 @@ align="center" :label="buttons.type||'类型'">