passwd组件补充change事件

master
yutent 2023-03-21 16:03:59 +08:00
parent c297a98773
commit aeeef6be27
2 changed files with 5 additions and 0 deletions

View File

@ -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}

0
src/form/radio.js Normal file
View File