Commit ffae9834 by Jings

fix: 权限保存成功后重置校验

parent 3ebb0f33
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: Drama * @Author: Drama
* @Date: 2022-09-14 11:09:43 * @Date: 2022-09-14 11:09:43
* @LastEditors: Drama * @LastEditors: Drama
* @LastEditTime: 2022-10-13 12:29:28 * @LastEditTime: 2022-10-14 12:30:00
* @FilePath: /haoban-3/src/views/enterprise/guide-setting-new.vue * @FilePath: /haoban-3/src/views/enterprise/guide-setting-new.vue
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
--> -->
...@@ -272,6 +272,11 @@ export default { ...@@ -272,6 +272,11 @@ export default {
this.activeNum = 0; this.activeNum = 0;
this.treeData = []; this.treeData = [];
this.withoutParents = []; this.withoutParents = [];
// 重置校验
this.$set(this.titleList[0], 'isEmpty', false);
this.$set(this.titleList[1], 'isEmpty', false);
this.$set(this.titleList[2], 'isEmpty', false);
this.isShowErrorTip = false;
await this.getMenuRoleList(0); await this.getMenuRoleList(0);
await this.getMenuRoleList(1); await this.getMenuRoleList(1);
await this.getMenuRoleList(2); await this.getMenuRoleList(2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment