vue经过ref改变input的type

template:web <input type="text" ref="input" v-model="inputPad" @focus="zfocus" @blur="zblur"> data:svg inputPad: "请输入支付密码", methods:this zfocus() { this.$refs.input.type = "password" if (this
相关文章
相关标签/搜索