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

[Tabs 选项卡] 更新vue到3.5.6之后,编译生产版本失败 #4690

Open
wuhaining opened this issue Oct 29, 2024 · 2 comments
Open

[Tabs 选项卡] 更新vue到3.5.6之后,编译生产版本失败 #4690

wuhaining opened this issue Oct 29, 2024 · 2 comments

Comments

@wuhaining
Copy link

wuhaining commented Oct 29, 2024

tdesign-vue-next 版本

1.10.3

重现链接

No response

重现步骤

使用tdesign-vue-next-starter,并且更新vue版本到3.5.6,启用多标签tab,右键报错

期望结果

组件正常使用

实际结果

开发版本报warning,组件还可以正常使用:
[Vue warn]: Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.
at <TTabNav theme="card" value="/application/storage-approve" size="medium" ... >
at <TTabs key=0 drag-sort="" theme="card" ... >

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Tasks

No tasks being tracked yet.
Copy link
Contributor

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

@wuhaining
Copy link
Author

生成版本,报error,组件不能正常使用
TypeError: Cannot read properties of null (reading 'refs')
at Jy (index-BhkhvlcO.js:35:8928)
at p (index-BhkhvlcO.js:35:24358)
at N (index-BhkhvlcO.js:35:30392)
at L (index-BhkhvlcO.js:35:29876)
at I (index-BhkhvlcO.js:35:27612)
at p (index-BhkhvlcO.js:35:24179)
at N (index-BhkhvlcO.js:35:30392)
at L (index-BhkhvlcO.js:35:29876)
at P (index-BhkhvlcO.js:35:26312)
at C (index-BhkhvlcO.js:35:24919)

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

1 participant