t20-common-lib 0.15.15 → 0.15.16

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.15",
3
+ "version": "0.15.16",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -195,7 +195,7 @@ export default {
195
195
  } else if (val === '' || val === null || val === undefined) {
196
196
  this.$emit('update:label', '')
197
197
  }
198
- this.$emit('change', option, val)
198
+ this.$emit('change', val, option)
199
199
  }
200
200
  }
201
201
  }
@@ -128,7 +128,7 @@ export default {
128
128
  },
129
129
  changeFn(val) {
130
130
  let item = this.options.find(t => t.value == val);
131
- this.$emit("change", item, val)
131
+ this.$emit("change", val, item)
132
132
  },
133
133
  async init() {
134
134
  // 1、JSON模板中有自定义的取自定义的options