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

[Picker] 为什么移动端VUE NEXT 版本的Picker下拉需要套一层数组、需要双层数组呢 #1544

Closed
zhanglaoban2633 opened this issue Aug 26, 2024 · 1 comment · Fixed by #1556

Comments

@zhanglaoban2633
Copy link

tdesign-mobile-vue 版本

1.3.4

重现链接

No response

重现步骤

function getcategory (birthDate) {
api_GET_category(query.CompetitionId, {BirthDate: birthDate})
.then((res) => {
categoryList = [res.Result.map(item=>{return {label: item.Name, value: item.Id};})];
});
}

期望结果

期望使用单选组件时候的Picker组件的columns属性只需要单层数组

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

20

补充说明

并且单选情况如果使用双层数组columns、v-model绑定的值也是数组格式 非常不方便

Copy link
Contributor

👋 @zhanglaoban2633,感谢给 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

Successfully merging a pull request may close this issue.

1 participant