t20-common-lib 0.15.33 → 0.15.35

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.15.33",
3
+ "version": "0.15.35",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -92,10 +92,10 @@ export default {
92
92
  //item一直是数组
93
93
  if (Array.isArray(item) && item.length) {
94
94
  this.$emit(`update:label`, item[0].unitName);
95
- this.$emit("change", item[0].unitNo, item, type);
95
+ this.$emit("change", item[0].unitNo, item, { type });
96
96
  } else {
97
97
  this.$emit(`update:label`, "");
98
- this.$emit("change", null, [], type);
98
+ this.$emit("change", null, [], { type });
99
99
  }
100
100
  },
101
101
  },
@@ -36,7 +36,7 @@
36
36
  :label.sync="formData[group.prop][item.nameProp]"
37
37
  v-bind="item.props"
38
38
  @change="
39
- (val, option, ...args) =>
39
+ (val, option, args) =>
40
40
  $emit('change', {
41
41
  val,
42
42
  option,