wwl
2024-12-06 84d7b5e9b0a31c1e18dc52b3d69b1cadf96938e7
src/views/system/tijian/TreeTransfer.vue
@@ -87,12 +87,15 @@
  },
  created() {
    this.leftNodeData = this.nodeData
    // console.log(this.leftNodeData,111);
    this.rightKeys.length > 0 ? this.rerenderData(this.rightKeys) : ''
  },
  methods: {
    clickLeftCheckAll(v) {
      //左侧全选
      if (v) {
        let keys = this.getChildNodeKeys(this.leftNodeData)
        this.$refs.tree.setCheckedKeys(keys)
        this.toRight = true