Open Bystander2 opened 4 years ago
我的页面中有个侧边栏的menu(侧边栏可伸缩),正文是Carousel,使用的是自动播放,播放时间长了之后,侧边栏伸缩卡顿
"element-react": "^1.4.34", "element-theme-default": "^1.4.13", "react": "16.8.6",
console报的是这个错: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
我的页面中有个侧边栏的menu(侧边栏可伸缩),正文是Carousel,使用的是自动播放,播放时间长了之后,侧边栏伸缩卡顿
"element-react": "^1.4.34", "element-theme-default": "^1.4.13", "react": "16.8.6",
console报的是这个错: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.