fix(仪表板): 修复因样式冲突导致选项卡组件方框大小无法随字体大小调节问题 #6182
This commit is contained in:
parent
15cef50e4f
commit
a418726d09
@ -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>
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
项目中可根据自己的styles路径 自行更改 */
|
||||
@import "./variables";
|
||||
|
||||
.de-tabs {
|
||||
.de-tabs-component {
|
||||
&.no-header {
|
||||
.el-tabs__header {
|
||||
display: none;
|
||||
Loading…
Reference in New Issue
Block a user