树形表使用懒加载后,更新的问题
2020-06-10 本文已影响0人
你好岁月神偷
this.$set(this.$refs.tableData.store.states.lazyTreeNodeMap, Pid, arr)
pid: 父节点id
arr: 更新后的需要设置的数组
this.$set(this.$refs.tableData.store.states.lazyTreeNodeMap, Pid, arr)
pid: 父节点id
arr: 更新后的需要设置的数组