You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
重现链接
https://github.com/shiyl962/taro3-vant4-test
Vant 版本
vant 4.6
重现步骤
用微信开发者工具导入本项目的dist/weapp ,将显示测试页面:
页面源码为本项目src/pages/test-field/index.vue, 点击测试按钮1,微信开发者工具控制台显示错误信息,经跟踪是执行到 vant/es/field/Field.mjs 的
watch(() => props.modelValue, () => {
updateValue(getModelValue());
resetValidation();
validateWithTrigger("onChange");
nextTick(adjustTextareaSize);
});
时报错的。经试验,如果同时把响应式变量绑定给一个taro原生field,则vant field也不会报错,效果见测试按钮2
设备/浏览器
微信开发者工具
Beta Was this translation helpful? Give feedback.
All reactions