Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
外层折叠面板能根据折叠和展开的状态不同,可以自动调整组件大小。内层的就不可以了,所以直接超出了外层的边界。内层的折叠面板怎么在展开的时候,让外层的折叠面板组件大小一起跟随变化?
可以在第二个折叠面板css里面写脚本
.ant-collapse-content.ant-collapse-content-active { display: flex; flex-direction: column; height: auto; }
.Panel_51A4B5A8.Panel { height: auto !important; }