Element: A bug in [Bug Report] el-tabs that gets stuck as soon as you use a browser

Created on 8 May 2019  ·  5Comments  ·  Source: ElemeFE/element

Element UI version

2.8.2

OS/Browsers version

chrome,及其它各种主流浏览器

Vue version

2.5.10

Reproduction Link

https://github.com/ElemeFE/element/issues/15316

Steps to reproduce





What is Expected?

使用方式,其中

是一个组件,单独使用没问题,如下放置就浏览器卡死。





上面的写法在之前的2.4.11版本中好好的,可是突然就不行了,后来排查了几个小时才发现是这个造成的。使用它和不适用它差距巨大

What is actually happening?

浏览器因为el-tabs的引用卡死

stale

Most helpful comment

我也出现了同样的问题,升级vue版本到2.5.22后解决了,估计是vue的某些bug导致。

All 5 comments

Translation of this issue:

Element UI version

2.8.2

OS/Browsers version

Chrome, and other mainstream browsers

Vue version

2.5.10

Reproduction Link

Https://github.com/ElemeFE/element/issues/15316

Steps to reproduce



What is Expected?

How to use it, where


It's a component. It's OK to use it alone. The browser card will die if it is placed below.




The above writing was good in the previous version 2.4.11, but suddenly it failed. Later, after several hours of investigation, it was found that this was the cause. There is a huge gap between using it and not applying it.

What is actually happening?

Browsers are blocked by references to el-tabs

是的,我擦,折腾了我一个多小时,终于定位到这个组件,一旦使用tab组件,浏览器就崩,而且关不掉,CPU使用率大幅攀升,电脑风扇飞速旋转。。。。

我也出现了同样的问题,升级vue版本到2.5.22后解决了,估计是vue的某些bug导致。

2.0升级2.9.1报此问题。

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings