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

[date-picker] 格式化日期显示影响了日期值 #4173

Open
waney opened this issue May 7, 2024 · 2 comments
Open

[date-picker] 格式化日期显示影响了日期值 #4173

waney opened this issue May 7, 2024 · 2 comments
Labels
🐞 bug Something isn't working

Comments

@waney
Copy link

waney commented May 7, 2024

tdesign-vue-next 版本

1.9.4

重现链接

[[No response](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api)](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api)

重现步骤

<t-date-picker  v-model="date" mode="month"  format="YYYY年MM月 的工作" ... 
console.dir(date.value);

bcd65a34fa65eb1fe90003ff22e8718
424ef6de340273765ab5f415c15796a

期望结果

期望不影响日期值

实际结果

影响了

Copy link
Contributor

github-actions bot commented May 7, 2024

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

@uyarn uyarn added the 🐞 bug Something isn't working label May 7, 2024
@uyarn
Copy link
Collaborator

uyarn commented May 7, 2024

可以先手动设置valueType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants