We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
^1.3.3
无
HTML部分:
<t-date-picker allow-input enable-time-picker size="small" @change="onDatePickerChange" @confirm="onDatePickerConfirm" />
JS部分:
// 日期时间选择器的值改变时 onDatePickerChange(value, context) { console.log('日期时间选择器的值改变') console.log(value) console.log(context) }, // 日期时间选择器的值确定时 onDatePickerConfirm(context) { console.log('日期时间选择器的值确定') console.log(context) },
confirm绑定事件生效
打印结果:
日期时间选择器的值改变 2023-10-12 02:02:01 {dayjsValue: M, trigger: 'confirm'}
点击确定时,只有change事件生效,confirm不生效。
看样子change事件做的是confirm事件的工作,那confirm函数存在的意义是?
^2.6.14
Chrome(116.0.5845.141)
Microsoft Windows [版本 10.0.19044.3086]
v16.18.0
No response
The text was updated successfully, but these errors were encountered:
👋 @Barry-Flynn,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
♥️ 有劳 @zhwachen @xiaosansiji @honkinglin @Ericleungs 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @Barry-Flynn 。
fixed in 1.7.0
xiaosansiji
honkinglin
No branches or pull requests
tdesign-vue 版本
^1.3.3
重现链接
无
重现步骤
HTML部分:
JS部分:
期望结果
confirm绑定事件生效
实际结果
打印结果:
点击确定时,只有change事件生效,confirm不生效。
看样子change事件做的是confirm事件的工作,那confirm函数存在的意义是?
框架版本
^2.6.14
浏览器版本
Chrome(116.0.5845.141)
系统版本
Microsoft Windows [版本 10.0.19044.3086]
Node版本
v16.18.0
补充说明
No response
The text was updated successfully, but these errors were encountered: