This commit is contained in:
2025-07-30 16:13:48 +08:00
parent db93105213
commit 6ad1c74606
2 changed files with 13 additions and 5 deletions

View File

@@ -6,6 +6,7 @@
:value="value"
:focus="focusState"
@blur="handleBlur($event)"
@input="handleInput($event)"
@confirm="handleChange($event)">
<view class="zd-row buttons_wraper">
<!-- <uni-icons @tap="toDel" type="closeempty" size="20" color="#4e6ef2"></uni-icons> -->
@@ -51,6 +52,10 @@
}
},
methods: {
handleInput($event) {
this.cur = $event.detail.value
this.$emit('input', this.cur)
},
handleChange ($event) {
this.cur = $event.target.value
this.$emit('input', this.cur)