Environment
windows17025/chrome61/vue2.3.3
Reproduction link
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,看起来像一条线
1条答案
按热度按时间yqyhoc1h1#
Translation of this issue:
Environment
Windows17025/chrome61/vue2.3.3
Reproduction link
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