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]小程序端; vue3 + ts 中怎么 拿到 Dialog.confirm() 小程序 提示 找不到 confirm #2584

Closed
houyi opened this issue Jan 31, 2024 · 3 comments

Comments

@houyi
Copy link

houyi commented Jan 31, 2024

tdesign-miniprogram 版本

小程序端; vue3 + ts 中怎么 拿到 Dialog.confirm() 小程序 提示 找不到 confirm 这个方法 应该是没以后实例化 这个对象 Dialog

TypeError: Cannot read property 'confirm ' of undefined

重现链接

No response

重现步骤

import Dialog from '@/wxcomponents/tdesgin/dialog/index'

小程序端;
vue3 + ts 中怎么 拿到 Dialog.confirm() 小程序 提示 找不到 confirm 官网文档 没有 Vu3 ts demo,. 真的 不行啊

setup 语法糖中 没有 this, context 我该怎么写呢?

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

No response

Copy link
Contributor

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

@houyi houyi changed the title [组件名称] 描述问题的标题 [Dialog]小程序端; vue3 + ts 中怎么 拿到 Dialog.confirm() 小程序 提示 找不到 confirm Jan 31, 2024
@anlyyao
Copy link
Collaborator

anlyyao commented Feb 1, 2024

@houyi tdesign-miniprogram 是基于原生小程序开发的组件,没有针对 uni-app、taro等 进行适配,不能保证组件在uni-app、taro等的可用性。目前,暂无适配计划。

@anlyyao anlyyao closed this as completed Feb 1, 2024
@houyi
Copy link
Author

houyi commented Feb 6, 2024

e,, 建议适配啊 。 官方的 uni-ui 组件 可以参考下,都有 直接实例调用,也方便,就是 uni-ui太丑~~

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

No branches or pull requests

2 participants