想对界面上的input做blur操作,但是提示不存在这个function,应该怎么做呢?
<input type="number" maxlength="3" :value="0" ref="inputArea"></input>
this.$refs.inputArea.blur()
13:45:09.677 [Vue warn]: Error in v-on handler: "TypeError: this.$refs.inputArea.blur is not a function"
0 个回复