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

[Dialog] confirm-btn设置null,编译器给出提示:不能将类型“null”分配给类型“string”。ts(2322) #1347

Closed
hkaikai opened this issue Aug 4, 2022 · 4 comments
Assignees
Labels
to be published to be published

Comments

@hkaikai
Copy link
Contributor

hkaikai commented Aug 4, 2022

tdesign-vue-next 版本

0.18.2

重现链接

No response

重现步骤

vscode编辑:
<t-dialog :confirm-btn="null" />

期望结果

不提示错误

实际结果

(property) confirm-btn: null
不能将类型“null”分配给类型“string”。ts(2322)

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2022

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2022

♥️ 有劳 @LeeJim @caoML @vnues @huoyuhao 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @hkaikai

@chaishi
Copy link
Collaborator

chaishi commented Aug 4, 2022

收到,我们处理一下,加一下数据类型

@PengYYYYY PengYYYYY added the to be published to be published label Aug 9, 2022
@PengYYYYY PengYYYYY mentioned this issue Aug 9, 2022
15 tasks
@github-actions github-actions bot mentioned this issue Aug 9, 2022
15 tasks
@PengYYYYY
Copy link
Collaborator

0.19.1 已修复

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

No branches or pull requests

5 participants