element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] Version 2.8.2 will block the use of el-tabs under Vue 2.5.10

Open mzpuu opened this issue 6 years ago • 9 comments
trafficstars

Element UI version

2.8.2

OS/Browsers version

macos Mojave 10.14.5 / chrome 74.0.3729.157(正式版本) (64 位)

Vue version

2.5.10

Reproduction Link

https://codepen.io/mzpuu/pen/LodLRJ

Steps to reproduce

切换vue版本,2.5.10浏览器会卡死

What is Expected?

2.8.2版本是否对vue有版本要求,是否可以兼容低版本vue(2.5)

What is actually happening?

已对elementUI降级

mzpuu avatar May 24 '19 09:05 mzpuu

Translation of this issue:

Element UI version

2.8.2

OS/Browsers version

Macos Mojave 10.14.5/chrome 74.0.3729.157 (official version) (64 bits)

Vue version

2.5.10

Reproduction Link

Https://codepen.io/mzpuu/pen/LodLRJ

Steps to reproduce

<! - - >" Switch Vue version, 2.5.10 browser will be stuck

What is Expected?

Whether Version 2.8.2 has version requirements for Vue and whether it can be compatible with low version Vue (2.5)

What is actually happening?

The elementUI has been downgraded

element-bot avatar May 24 '19 09:05 element-bot

thx bro , it works ,LOL [email protected] [email protected]

nothing-sy avatar May 27 '19 09:05 nothing-sy

Similar Trouble: "vue": "^2.3.4", "element-ui": "^2.9.1", block when using when make "element-ui": "^2.9.1" low to "element-ui": "^2.1.0", it works! cnpm uninstall element-ui cnpm i [email protected] you can look this url may helps: https://segmentfault.com/q/1010000009857163 <el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane> 改为 <el-tab-pane label="用户管理" name="first"></el-tab-pane>

即el-tab-pane元素内不能有内容

如果想要有内容则将elment-ui版本降级至2.1.0则就没有问题了(别的低于2.9.1的我没试过)

SageSanyue avatar Jun 16 '19 08:06 SageSanyue

Look at this support ^[email protected] ^[email protected] https://github.com/YeYinhai/el-tab-pane-ext

YeYinhai avatar Dec 31 '19 06:12 YeYinhai

我也遇到此类问题,我认为这是一个很严重的问题,会导致页面空转啥都不会显示。

bwangel avatar May 06 '20 06:05 bwangel

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.

stale[bot] avatar Jul 21 '21 07:07 stale[bot]

element-ui version: 2.15.10 vue version: 2.5.13 block the page code: <el-tabs type="border-card"> <el-tab-pane label="111" name="1"> <span>111</span> </el-tab-pane> <el-tab-pane label="222" name="2"> <span>222</span> </el-tab-pane> </el-tabs>

without contents in <el-tab-pane> is fine

kswilliamyao avatar Feb 08 '23 13:02 kswilliamyao

试了一下如果tabs是放在一个默认插槽里面就会卡死,不用插槽包裹着或者用具名插槽就没问题

ljr1626 avatar May 08 '24 02:05 ljr1626