element
element copied to clipboard
[Bug Report] Version 2.8.2 will block the use of el-tabs under Vue 2.5.10
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降级
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
thx bro , it works ,LOL [email protected] [email protected]
origin: [email protected] [email protected] ✖️ [email protected] [email protected] Tabs blocks chrome ✅[email protected] [email protected] works well
Similar Trouble: "vue": "^2.3.4", "element-ui": "^2.9.1", block when using 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的我没试过)
Look at this support ^[email protected] ^[email protected] https://github.com/YeYinhai/el-tab-pane-ext
我也遇到此类问题,我认为这是一个很严重的问题,会导致页面空转啥都不会显示。
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.
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
试了一下如果tabs是放在一个默认插槽里面就会卡死,不用插槽包裹着或者用具名插槽就没问题