[Bug Report] el-descriptions
Element UI version
2.15.5
OS/Browsers version
windows10/Microsoft Edge 版本 92.0.902.78 (官方内部版本) (64 位)
Vue version
2.6.14
Reproduction Link
https://codepen.io/netwhalecetus7/pen/eYRNpBJ
Steps to reproduce
el-descriptions-item元素添加v-if或者v-show判断隐藏或显示
What is Expected?
el-descriptions-item元素根据v-if或者v-show判断隐藏或显示
What is actually happening?
使用v-if和v-show时,不会正常显示根据值显示或隐藏
Translation of this issue:
Element UI version
2.15.5
OS/Browsers version
Windows10 / Microsoft edge version 92.0.902.78 (official build) (64 bit)
Vue version
2.6.14
Reproduction Link
https://codepen.io/netwhalecetus7/pen/eYRNpBJ
Steps to reproduce
Add V-IF or v-show to El descriptions item element to judge whether it is hidden or displayed
< El descriptions item: v-show = "isshow" label = "v-show" > do not display (show) < / El descriptions item >
What is Expected?
The El descriptions item element is hidden or displayed according to V-IF or v-show
What is actually happening?
When using V-IF and v-show, it will not be displayed normally, and it will be displayed or hidden according to the value
@NetWhaleCetus7
Use v-if instead of :v-if .
@NetWhaleCetus7
Use
v-ifinstead of:v-if.
还是不行,不会根据属性显示或者隐藏 Still no, it will not be displayed or hidden according to the properties
为什么这个bug还没修?