Tencent / tdesign-vue-next

A Vue3.x UI components lib for TDesign.
https://tdesign.tencent.com/vue-next
MIT License
1.43k stars 459 forks source link

[DatePicker] format属性会影响到confirm事件的值 #4271

Open sunjiesama opened 3 months ago

sunjiesama commented 3 months ago

tdesign-vue-next 版本

1.9.6

重现链接

https://stackblitz.com/edit/bk4m6y?file=package.json,src%2Fdemo.vue

重现步骤

image

期望结果

配置了 format="YYYY-MM-DD HH 时"属性后,@confirm="handleClickConfirm"事件的值应该是value-type的值

实际结果

实际上confirm事件的值是Invalid Date

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

github-actions[bot] commented 3 months ago

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

uyarn commented 3 months ago

duplicate of https://github.com/Tencent/tdesign-vue-next/issues/4173

uyarn commented 3 months ago

先暂时配置下valueType