@kaiyinchem/ky-uniui 1.0.16 → 1.0.18
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/components/ky-cell.vue +2 -1
- package/package.json +1 -1
package/components/ky-cell.vue
CHANGED
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
|
|
122
122
|
<script>
|
|
123
123
|
export default {
|
|
124
|
-
emits:['click', 'focus', 'blur', 'update:value'],
|
|
124
|
+
emits:['click', 'focus', 'blur', 'update:value', 'change'],
|
|
125
125
|
props: {
|
|
126
126
|
// 左边显示的文本
|
|
127
127
|
label: {
|
|
@@ -248,6 +248,7 @@
|
|
|
248
248
|
const val = detail.value.replace(/-/g, '/')
|
|
249
249
|
this.content = val
|
|
250
250
|
this.$emit('update:value', val)
|
|
251
|
+
this.$emit('change', val)
|
|
251
252
|
},
|
|
252
253
|
}
|
|
253
254
|
}
|