Parcourir la source

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

QM303176530 il y a 4 ans
Parent
commit
a4137f4264
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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