工具:element-UI树回显时,父节点联动无权限子节点的问题

例子 1:问题原因:我们可能使用 this.$refs.tree.setCheckedKeys(this.defalutArr); 或者使用 :default-expanded-keys=“treeDataSelect” :default-checked-keys=“treeDataSelect” 来进行回显的 获取数据 解决: if (res.data.code == 200) { //默认选中
相关文章
相关标签/搜索