t20-common-lib 0.12.2 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t20-common-lib",
3
- "version": "0.12.2",
3
+ "version": "0.12.4",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -629,7 +629,7 @@ export default {
629
629
  this.selectData = [];
630
630
  this.checkD = false;
631
631
  this.$refs.tree.setCheckedNodes([]);
632
- this.getListData("search");
632
+ this.getListData("all");
633
633
  } else {
634
634
  //搜索取消所有选中状态
635
635
  this.checkD = false;
@@ -1070,6 +1070,9 @@ export default {
1070
1070
  this.$emit("input", this.multiple ? data : data[0]);
1071
1071
  this.$emit("dataChange", this.selectData);
1072
1072
  }
1073
+ if (type === "all") {
1074
+ this.checkD = true;
1075
+ }
1073
1076
  this.$nextTick(() => {
1074
1077
  this.$refs.tree.setCheckedNodes(this.selectData);
1075
1078
  });