iview [Bug Report]Collapse will leave up and down 1px border when there is no Panel inside

snz8szmq  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(67)

Environment

windows17025/chrome61/vue2.3.3

https://jsfiddle.net/yyrzhm46/85/

Steps to reproduce

使用v-for来控制Collapse下的Panel时,当Panel数为0时,Collapse会留下上下各1px的border

What is expected?

使用v-for来控制Collapse下的Panel时,当Panel数为0时,什么也看不到

What is actually happening?

会留下上下各1px的border,看起来像一条线

yqyhoc1h

yqyhoc1h1#

Translation of this issue:

Environment

Windows17025/chrome61/vue2.3.3

https://jsfiddle.net/yyrzhm46/85/

Steps to reproduce

When using V-for to control the Collapse under Panel, when the Panel number is 0, Collapse will leave the 1px of border up and down

What is expected?

When using V-for to control the Collapse under Panel, when the Panel number is 0, nothing can be seen

What is actually happening?

It'll leave the 1px border up and down, and it looks like a line

相关问题