|
@@ -1,7 +1,7 @@
|
|
|
<!--
|
|
|
* @Author: your name
|
|
|
* @Date: 2021-11-29 09:27:43
|
|
|
- * @LastEditTime: 2022-03-18 18:18:54
|
|
|
+ * @LastEditTime: 2022-03-21 03:28:09
|
|
|
* @LastEditors: your name
|
|
|
* @Description: 权限管理
|
|
|
* @FilePath: \Foshan4A2.0\src\views\authorityManagement\components\home.vue
|
|
@@ -246,7 +246,9 @@ export default {
|
|
|
},
|
|
|
currentKey: {
|
|
|
handler(val) {
|
|
|
- this.$refs.tree.setCurrentKey(val)
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.tree.setCurrentKey(val)
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -389,8 +391,6 @@ export default {
|
|
|
this.flag = false;
|
|
|
this.getOrganTree();
|
|
|
this.childrenData.splice(this.delIndex, 1);
|
|
|
- this.$refs.tree.setCurrentKey(this.currDataArr[0].OrganId);
|
|
|
- this.currentKey = this.currDataArr[0].OrganId;
|
|
|
} else {
|
|
|
this.flag = false;
|
|
|
this.$message.error(res.message);
|