Closed imguolao closed 2 years ago
none
Ixcollapse
in nest, exterior_ ixcollapse
to affect interiorXcollapse
<template>
<IxCollapse borderless>
<IxCollapsePanel key="1" header="标题">
<IxCollapse>
<IxCollapsePanel key="1" header="标题">
<span>内容区</span>
</IxCollapsePanel>
</IxCollapse>
</IxCollapsePanel>
</IxCollapse>
</template>
Nesting, external boundless box, interior, borderless
only take effect on the current component.
SetBorderless
More images used in nested `ixcollapse. None borders.
ENVIRONMENT | INFO |
---|---|
@IDUX | |
Browser |
vue2 的 idux 才有此 bug,vue3 么有。
Reproduction link
无
Steps to reproduce
IxCollapse
在嵌套使用时,外部IxCollapse
的bordless
会影响内部IxCollapse
的样式What is expected?
嵌套使用时,外部无边框,内部有边框,
borderless
仅对当前组件生效。What is actually happening?
设置
borderless
后,嵌套使用的IxCollapse
都没有边框。Any additional comments? (optional)