New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
form表单不能进行v-model绑定,进而导致input框验证失败 #3246
Comments
<Input value={modelRef.loginEmail} onInput={e=> modelRef.loginEmail = e.target.value}/> |
图片 |
tsx用useForm的形式试试 |
这个userForm我之前试过 好像有个地方有点问题 现在没用了 |
提供一个复现吧~ |
不能上传视频 |
import { defineComponent, reactive, toRefs, toRaw, ref, onMounted } from 'vue' export default defineComponent({
} |
我这跑你的代码也没问题呀 |
难道是vite的问题? |
你的是vite吗还是webpack |
跟这没关系吧 |
另一个人的webpack用这个也可以,我用vite就不行 |
另一个人的webpack用这个也可以,我用vite就不行 |
不清楚了,等大佬回复吧~ |
vite不支持,目前 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
2.0.0-rc.1
Environment
win10 谷歌85版本 vue3.0.2 vite1.0.0-rc.8
Reproduction link
Steps to reproduce
form表单不能进行v-model绑定,进而导致input框验证失败
What is expected?
form进行v-model绑定
What is actually happening?
form表单不能进行v-model绑定
The text was updated successfully, but these errors were encountered: