Browse Source

修复角色新增时携带信息问题

QM303176530 4 years ago
parent
commit
a4137f4264
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web/src/view/superAdmin/authority/authority.vue

+ 1 - 0
web/src/view/superAdmin/authority/authority.vue

@@ -287,6 +287,7 @@ export default {
     },
     // 增加角色
     addAuthority(parentId) {
+      this.initForm()
       this.dialogTitle = "新增角色"
       this.dialogType = "add"
       this.form.parentId = parentId