fix(仪表板): 修复因样式冲突导致选项卡组件方框大小无法随字体大小调节问题 #6182

This commit is contained in:
wangjiahao 2024-01-17 16:24:47 +08:00
parent 15cef50e4f
commit a418726d09
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template>
<el-tabs
ref="tabsConstom"
:class="['de-tabs',...tabClassName]"
:class="['de-tabs-component',...tabClassName]"
:style="tabStyle"
v-bind="$attrs"
v-on="$listeners"
@ -60,7 +60,7 @@ export default {
}
</script>
<style lang="scss">
@import "../../styles/de-tabs";
@import "../../styles/de-tabs-component";
</style>

View File

@ -2,7 +2,7 @@
项目中可根据自己的styles路径 自行更改 */
@import "./variables";
.de-tabs {
.de-tabs-component {
&.no-header {
.el-tabs__header {
display: none;