mali-applet-ui 0.2.52 → 0.2.53

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.
@@ -69,7 +69,7 @@ export default {
69
69
  let startStr = ''
70
70
  let enStr = ''
71
71
  if (this.selectType === 5) {
72
- this.$emit('dateType', this.selectType)
72
+ this.$emit('update:dateType', this.selectType)
73
73
  return
74
74
  }
75
75
  if (this.selectType !== null) {
@@ -98,7 +98,7 @@ export default {
98
98
  this.selectVal = ''
99
99
  }
100
100
  this.selectDates = startStr && enStr ? [startStr, enStr] : []
101
- this.$emit('dateType', this.selectType)
101
+ this.$emit('update:dateType', this.selectType)
102
102
  this.$emit('update:startDate', startStr)
103
103
  this.$emit('update:endDate', enStr)
104
104
  this.$emit('change', { startDate: startStr, endDate: enStr })
@@ -107,7 +107,7 @@ export default {
107
107
  const [startDate, endDate] = value
108
108
  if (!startDate || !endDate) {
109
109
  this.selectType = 5
110
- this.$emit('dateType', this.selectType)
110
+ this.$emit('update:dateType', this.selectType)
111
111
  }
112
112
  this.$emit('update:startDate', startDate || '')
113
113
  this.$emit('update:endDate', endDate || '')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.52",
3
+ "version": "0.2.53",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"