Skip to content
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

[Cascader] v-model:value动态赋值不生效 #1452

Open
zhujie948 opened this issue Jun 14, 2024 · 1 comment
Open

[Cascader] v-model:value动态赋值不生效 #1452

zhujie948 opened this issue Jun 14, 2024 · 1 comment

Comments

@zhujie948
Copy link

tdesign-mobile-vue 版本

1.9.6

重现链接

https://stackblitz.com/edit/bsmfbb?file=src%2Fdemo.vue

重现步骤

1、初始设置address.value为空
2、打开cascader选择器的方法中设置address.value = '120119'

期望结果

cascader选择器应该选中 天津市/天津市/蓟州区

实际结果

cascader选择器未选中任何值

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

该问题常见于编辑某个表单时,回填初始值(从ajax中获取的数据)

Copy link
Contributor

👋 @zhujie948,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant