arco-design / arco-design-vue

A Vue.js 3 UI Library based on Arco Design
https://arco.design/vue
MIT License
2.73k stars 536 forks source link

更新最新arco design 版本之后在 "arco-design-pro-vue": "^2.0.2" 中点击菜单列表报错 Cannot destructure property 'type' of 'vnode' as it is undefined. #1247

Closed Yer11214 closed 2 years ago

Yer11214 commented 2 years ago

Basic Info

What is expected?

请问如何解决?

Steps to reproduce

在 "arco-design-pro-vue": "^2.0.2" 使用"@arco-design/web-vue": "^2.29.1"部分代码在点击菜单的时候报错 Uncaught (in promise) TypeError: Cannot destructure property 'type' of 'vnode' as it is undefined. Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')

flsion commented 2 years ago

@HollowWater 可以定位到处理的问题位置吗,如果menu是用作路由切换,可能是页面卸载的问题

Yer11214 commented 2 years ago

@flsion 无法定位了,我把代码切迁移到最新的pro后台了 =。=

flsion commented 2 years ago

OK