瀏覽代碼

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

QM303176530 4 年之前
父節點
當前提交
a4137f4264
共有 1 個文件被更改,包括 1 次插入0 次删除
  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