element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] el-descriptions

Open NetWhaleCetus7 opened this issue 4 years ago • 4 comments

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判断隐藏或显示

不显示(show)

What is Expected?

el-descriptions-item元素根据v-if或者v-show判断隐藏或显示

What is actually happening?

使用v-if和v-show时,不会正常显示根据值显示或隐藏

NetWhaleCetus7 avatar Aug 26 '21 11:08 NetWhaleCetus7

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

element-bot avatar Aug 26 '21 11:08 element-bot

@NetWhaleCetus7

Use v-if instead of :v-if .

adaex avatar Aug 28 '21 11:08 adaex

@NetWhaleCetus7

Use v-if instead of :v-if .

还是不行,不会根据属性显示或者隐藏 Still no, it will not be displayed or hidden according to the properties

NetWhaleCetus7 avatar Aug 30 '21 11:08 NetWhaleCetus7

为什么这个bug还没修?

UtherPim avatar Jan 10 '25 08:01 UtherPim