tabs优化

This commit is contained in:
gary.fu
2023-12-29 17:22:14 +08:00
parent 7e6d0d2d1e
commit 773923d761
8 changed files with 76 additions and 16 deletions

View File

@@ -43,6 +43,7 @@ const removeHistoryTab = path => {
<el-tabs
v-bind="$attrs"
v-model="currentTabValue"
class="common-tabs"
type="card"
:closable="tabsViewStore.historyTabs.length>1"
@tab-change="selectHistoryTab"
@@ -57,5 +58,10 @@ const removeHistoryTab = path => {
</template>
<style scoped>
.common-tabs > .el-tabs__content {
padding: 32px;
color: #6b778c;
font-size: 32px;
font-weight: 600;
}
</style>