工具:element-UI樹回顯時,父節點聯動無權限子節點的問題

例子 1:問題原因:我們可能使用 this.$refs.tree.setCheckedKeys(this.defalutArr); 或者使用 :default-expanded-keys=「treeDataSelect」 :default-checked-keys=「treeDataSelect」 來進行回顯的 獲取數據 解決: if (res.data.code == 200) { //默認選中
相關文章
相關標籤/搜索