passwd组件补充change事件
parent
c297a98773
commit
aeeef6be27
|
@ -213,6 +213,10 @@ class Passwd extends Component {
|
|||
this.value = ev.target.value
|
||||
}
|
||||
|
||||
handleChange() {
|
||||
this.$emit('change')
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="label">
|
||||
|
@ -221,6 +225,7 @@ class Passwd extends Component {
|
|||
spellcheck="false"
|
||||
ref="input"
|
||||
@input=${this.handleInput}
|
||||
@change=${this.handleChange}
|
||||
:readOnly=${this.readOnly}
|
||||
:disabled=${this.disabled}
|
||||
:type=${this._type}
|
||||
|
|
Loading…
Reference in New Issue