src/components/tabview/index.scss
@@ -6,6 +6,7 @@ width: 100%; height: 100%; > .ant-tabs { height: 100%; > .ant-tabs-bar { // 去除标签页header与content之间的间隙 margin-bottom: 0; .ant-tabs-tab { @@ -53,6 +54,9 @@ } } } >.ant-tabs-content { height: 100%; } } .ant-tabs .ant-tabs-top-content.ant-tabs-content-animated { transition: margin-left 0s cubic-bezier(0.645, 0.045, 0.355, 1);