@opentinyvue/vue-grid-toolbar 2.22.0 → 2.22.1

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.
Files changed (2) hide show
  1. package/lib/index.js +6 -3
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -2131,8 +2131,11 @@ var __vue2_script = defineComponent({
2131
2131
  this.hideOrShowColumns(false);
2132
2132
  }
2133
2133
  },
2134
- checkNode: function checkNode(node, data6, checked) {
2135
- node.visible = checked;
2134
+ // 勿同步,tree组件check事件参数不一致
2135
+ checkNode: function checkNode(node, data6) {
2136
+ var _data$checkedNodes;
2137
+ var isCheck = data6 == null ? void 0 : (_data$checkedNodes = data6.checkedNodes) == null ? void 0 : _data$checkedNodes.includes(node);
2138
+ node.visible = isCheck;
2136
2139
  if (node.children && Array.isArray(node.children)) {
2137
2140
  node.children.forEach(function(item) {
2138
2141
  item.visible = node.visible;
@@ -4027,7 +4030,7 @@ var GridToolbar = defineComponent({
4027
4030
  }
4028
4031
  }
4029
4032
  });
4030
- var version = "2.22.0";
4033
+ var version = "2.undefined";
4031
4034
  GridToolbar.install = function(Vue) {
4032
4035
  Vue.component(GridToolbar.name, GridToolbar);
4033
4036
  };
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-grid-toolbar",
3
3
  "type": "module",
4
- "version": "2.22.0",
4
+ "version": "2.22.1",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/utils": "~2.22.0",
11
+ "@opentinyvue/utils": "~3.22.0",
12
12
  "@opentinyvue/vue-alert": "~2.22.0",
13
13
  "@opentinyvue/vue-button": "~2.22.0",
14
14
  "@opentinyvue/vue-checkbox": "~2.22.0",