Echarts 图表放到bootstrap的tab-panel中不加载
- 作者: 你是我的21646098
- 来源: 51数据库
- 2022-08-15
/* tab panel 不显示Echarts 图表问题 */ /* bootstrap hack: fix content width inside hidden tabs */ .tab-content > .tab-pane, .pill-content > .pill-pane { display: block; /* undo display:none */ height: 0; /* height:0 is also invisible */ overflow-y: hidden; /* no-overflow */ } .tab-content > .active, .pill-content > .active { height: auto; /* let the content decide it */ } /* bootstrap hack end */
推荐阅读