<INPUT />: Conflict between @change and v-model? INPUT里的@change和v-model会冲突? #13855
Unanswered
saindo
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Vue 3.3.4
<input @change=func v-model=v>
Without "v-model", @change works just fine.
With "v-model", @change is not triggered when value of input changed to ""(empty string).
不带v-model没问题。带了v-model时,当输入值修改为空字符时,@change无效
Beta Was this translation helpful? Give feedback.
All reactions