Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mzpuu opened this issue May 24, 2019 · 9 comments
Open

Comments

@mzpuu
Copy link

mzpuu commented May 24, 2019

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

<script src="//unpkg.com/vue@2.6.10/dist/vue.js"></script>

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

What is Expected?

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

What is actually happening?

已对elementUI降级

@element-bot element-bot changed the title [Bug Report] 2.8.2版本在Vue 2.5.10下会出现el-tabs使用出现阻塞 [Bug Report] Version 2.8.2 will block the use of el-tabs under Vue 2.5.10 May 24, 2019
@element-bot
Copy link
Member

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

<script src="//unpkg.com/vue@2.6.10/dist/vue.js"> </script>

<! - <script src="//unpkg.com/vue@2.5.10/dist/vue.js"> </script> - >"
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

@nothing-sy
Copy link

thx bro , it works ,LOL
vue@2.6.10 element-ui@2.8.2

@Holybasil
Copy link

origin: vue@2.5.2 elementui@2.1.0
✖️ vue@2.5.2 elementui@2.9.1 Tabs blocks chrome
✅vue@2.6.10 elementui@2.9.1 works well

@SageSanyue
Copy link

SageSanyue commented Jun 16, 2019

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 element-ui@2.1.0
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的我没试过)

@YeYinhai
Copy link

Look at this
support ^vue@2.6.0 ^elementui@2.13.0
https://github.com/YeYinhai/el-tab-pane-ext

@bwangel
Copy link

bwangel commented May 6, 2020

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

@stale
Copy link

stale bot commented Jul 21, 2021

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 stale bot added the stale label Jul 21, 2021
@kswilliamyao
Copy link

kswilliamyao commented Feb 8, 2023

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

@ljr1626
Copy link

ljr1626 commented May 8, 2024

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

@stale stale bot removed the stale label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants