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

[Table] [DialogPlugin] 修改全局组件前缀后,列配置按钮点击无响应 #2529

Open
wulianpu opened this issue Mar 9, 2023 · 6 comments
Assignees
Labels
🐞 bug Something isn't working

Comments

@wulianpu
Copy link

wulianpu commented Mar 9, 2023

tdesign-vue-next 版本

1.1.1

重现链接

https://stackblitz.com/edit/vitejs-vite-lrmavk?file=src%2FApp.vue

重现步骤

通过t-config-provider组件修改全局组件的前缀

<t-config-provider :globalConfig="{ classPrefix: 'any'}">
    <t-button>TDesign to any design</t-button>
</t-config-provider>

table组件的列配置点击无响应(没有弹出对话框),查看控制台,发现对话框的样式还是以t为前缀
image

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

♥️ 有劳 @realyuyanan @Louiszhai @PengYYYYY @chaishi 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @wulianpu

@uyarn uyarn added the 🐞 bug Something isn't working label Mar 10, 2023
@uyarn
Copy link
Collaborator

uyarn commented Mar 13, 2023

这里是因为DialogPlugin创建的没有办法获取provider提供的classprefix上下文导致的缺陷

@chaishi chaishi changed the title [Table] 修改全局组件前缀后,列配置按钮点击无响应 [Table] [DialogPlugin] 修改全局组件前缀后,列配置按钮点击无响应 Mar 20, 2023
@chaishi
Copy link
Collaborator

chaishi commented Dec 2, 2023

https://stackblitz.com/edit/vitejs-vite-lrmavk?file=src%2FApp.vue

打开这个链接,看到的内容是 Menu 的,和当前标题不符。无效链接

@chaishi
Copy link
Collaborator

chaishi commented Dec 2, 2023

试了下,点击“列配置”按钮是有反应的

image

@wulianpu
Copy link
Author

wulianpu commented Dec 2, 2023

试了下,点击“列配置”按钮是有反应的

image

我刚刚看了一下,确实是可以了,我之前提问题的时候好像是不太行的,多谢回复,但现在有一个新问题,尽管配置了前缀,弹出的Dialog的前缀还是t
image

@uyarn uyarn assigned uyarn and unassigned chaishi and PengYYYYY Dec 2, 2023
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

4 participants