From 5e76d612e2da65c83bba5b57350387e87063ac71 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Fri, 4 Nov 2022 18:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=AE=A1=E7=90=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/config/pages/roleManage/index.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/config/pages/roleManage/index.vue b/src/pages/config/pages/roleManage/index.vue index ecb83f4f6..7c49f1c58 100644 --- a/src/pages/config/pages/roleManage/index.vue +++ b/src/pages/config/pages/roleManage/index.vue @@ -623,9 +623,6 @@ export default { }) }, SuperiorRole() { // 点击选择上级角色按钮 - this.addForm.parentId = '' - this.addForm.parent = '' - this.nodeList3 = [] this.SuperiorRoleModel = true }, RolesAdd(type, row) { // 新增/编辑角色按钮 @@ -637,6 +634,8 @@ export default { this.addForm.parentId = '' this.addForm.parent = '' this.addForm.id = '' + this.nodeList3 = [] + this.nodeList3.push(this.addForm.parentId) } else { this.addRoleTitle = '编辑角色' this.addForm.name = row.name