mali-applet-ui 0.2.55 → 0.2.56

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.
@@ -164,9 +164,11 @@ export default {
164
164
  this.updatePickerData()
165
165
  },
166
166
  clearEvent () {
167
+ const value = []
167
168
  this.selectIndexs = [0]
168
169
  this.confirmEvent()
169
170
  this.$emit('clear', { value })
171
+ this.$emit('change', { value, labels: [], selection: [] })
170
172
  },
171
173
  confirmEvent () {
172
174
  const value = []
@@ -116,8 +116,8 @@ export default {
116
116
  clearEvent () {
117
117
  const value = null
118
118
  this.$emit('input', value)
119
- this.$emit('change', { value, option: null })
120
119
  this.$emit('clear', { value })
120
+ this.$emit('change', { value, option: null })
121
121
  }
122
122
  }
123
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.55",
3
+ "version": "0.2.56",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"