更新input组件

master
chenjiajian 2023-03-18 13:14:42 +08:00
parent 9cdfd3d952
commit ee1c91bfa0
1 changed files with 2 additions and 6 deletions

View File

@ -20,12 +20,7 @@ class Input extends Component {
value: {
type: String,
default: '',
attribute: false,
observer(val) {
if (this.$refs) {
this.$refs.input.value = val
}
}
attribute: false
},
lazy: 0 // 并发拦截时间, 单位毫秒
}
@ -365,6 +360,7 @@ class Input extends Component {
disabled=${this.disabled}
readonly=${this.readOnly}
autofocus=${this.autofocus}
:value=${this.value}
/>
${this.closeable && this.value ? this.renderClose() : ''}
${this.icon