Commit 37118c92 by fairyly

fix: 修改组织架构

parent 86b24d6a
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-08-14 16:51:07
* @LastEditors : 无尘
* @LastEditTime : 2020-03-31 09:14:41
* @LastEditTime : 2020-03-31 13:22:52
-->
<!--
<wx-tree v-model="itemData" ></wx-tree>
......@@ -99,7 +99,12 @@ export default {
*/
checkParent(obj) {
const that = this;
that.itemObj.children.forEach(ele => {
if (ele.loaded && ele.children.length) {
ele.hasSonNode = false;
}
});
that.$forceUpdate();
console.log('检查父级:', that.itemObj, obj);
},
/**
......
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