vant
vant copied to clipboard
[Bug Report] 当我尝试动态设置 Field 组件的 input 插槽时,输入框的回显看起来有点问题
Reproduction Link
https://codesandbox.io/p/sandbox/pagoda-mobile-4-4-2-forked-y766kw?file=%2Fsrc%2Fdemo.vue%3A6%2C29
Vant Version
4.9.17
Describe the Bug
我在某些场景需要动态控制是否使用 input 插槽,但当我动态切换时,input 的值似乎不能正常回显
Reproduce Steps
通过 v-if 动态控制是否传入 input 插槽
Device / Browser
No response
@chenjiahan 这个 pr 能合并吗