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

[dropdown] vue版本升级到3.4.x ,并且打包之后,右键顶部导航tabs_nav时报错 #671

Open
Tracked by #679
YahaneXy opened this issue Jan 30, 2024 · 7 comments
Assignees
Labels
🐞 BUG Something isn't working Upstream This problem for dependencies

Comments

@YahaneXy
Copy link

YahaneXy commented Jan 30, 2024

tdesign-vue-next-starter 版本

1.8.0

重现链接

No response

重现步骤

vue版本升级到3.4.x 之后,右键顶部导航tabs_nav时报错,报错信息:
TypeError: Cannot read properties of null (reading 'refs')

期望结果

可以展开下拉的列表。

实际结果

无法展开并且报错

框架版本

Vue(3,4.X)

浏览器版本

Chrome(121.0.6167.85)

系统版本

Windows(22H2)

Node版本

20.9.0

补充说明

No response

Copy link
Contributor

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

Copy link
Contributor

github-actions bot commented Jan 30, 2024

♥️ 有劳 @timi137137 @liweijie0812 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @XiaoYuJuQiang 。

@YahaneXy YahaneXy changed the title [dropdown] vue版本升级到3.4.x 之后,右键顶部导航tabs_nav时报错 [dropdown] vue版本升级到3.4.x ,并且打包之后,右键顶部导航tabs_nav时报错 Jan 30, 2024
@timi137137
Copy link
Collaborator

Vue3.4目前破坏性改动过多,请回退Vue版本。后续等Vue3.4稳定下来后会统一修复

@timi137137 timi137137 added 🐞 BUG Something isn't working Upstream This problem for dependencies ⏹ Pending This issue is pending labels Jan 30, 2024
@timi137137
Copy link
Collaborator

image
新版本应该修复了

@timi137137 timi137137 added To be published and removed ⏹ Pending This issue is pending labels Mar 29, 2024
@yixiaco
Copy link

yixiaco commented Apr 3, 2024

image 新版本应该修复了

特地更新了一下tdesign-vue-next-starter项目到最新版本,删除了原来的node_modules和yarn.lock重新install。
运行结果还是一样会报错,并且tabs也添加不上了,需要刷新浏览器才能出现。
不知道这样运行测试是否可行,还是需要扔到nginx测试才行

image

image

@yixiaco
Copy link

yixiaco commented Apr 3, 2024

@timi137137 我在项目里面试了下,切换到vue-3.3.13版本是没有这个问题的

@timi137137
Copy link
Collaborator

确实问题出现在组件库,具体还未定位到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 BUG Something isn't working Upstream This problem for dependencies
Projects
None yet
Development

No branches or pull requests

4 participants