更新input组件
parent
9cdfd3d952
commit
ee1c91bfa0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue