vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.24k stars 3.79k forks source link

Uncaught RangeError: Maximum call stack size exceeded 在table 组件中滑动滚动条,控制台报了上千个警告 #7592

Closed xijinhua closed 3 weeks ago

xijinhua commented 5 months ago

Version

4.2.1

Environment

"vue": "^3.4.27"

Reproduction link

https://codesandbox.io/p/devbox/tender-violet-xj5j5f

Steps to reproduce

先把浏览器控制台打开,滑动滚动条,滚到底部的过程中,控制台就会报上千个警告

What is expected?

不要报错

What is actually happening?

先把浏览器控制台打开,滑动滚动条,滚到底部的过程中,控制台就会报上千个警告

image

xijinhua commented 5 months ago

暂时解决: vue 版本3.3.4 ,不要写^

wsxe9988 commented 5 months ago

@selicens @tangjinzhou 看一下 vue 3.4.x下报这个错,紧急修复下吧

cc-hearts commented 5 months ago

3.4 对于 computed 进行了优化:https://github.com/vuejs/core/pull/5912

是否将 eagerComputed 切换回 computed ?

fuxianwei commented 5 months ago

+1

orionna319 commented 5 months ago

I also encountered this problem, the version of vue is 3.4.21.

orionna319 commented 5 months ago

Is there any way to solve this problem? For example, using pnpm patch is also a temporary solution.

cc-hearts commented 5 months ago
image

Here's my patch (FYI)

fuxianwei commented 4 months ago

+1

cc-hearts commented 4 months ago

vue 3.5.0 will resolve

qiuweikangdev commented 3 months ago

+1

phunguyenmurcul commented 3 months ago

+1

ns265422 commented 3 months ago

+1

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days