fix:修复编辑页在不同element版本下表现不一致问题 (#406)

* fix: 通过声明element最低版本来确定tab样式表现

* fix lint
This commit is contained in:
dayou 2024-09-02 17:39:47 +08:00 committed by GitHub
parent 70c236c879
commit 9427e0efe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 5 deletions

View File

@ -23,7 +23,7 @@
"clipboard": "^2.0.11", "clipboard": "^2.0.11",
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"echarts": "^5.5.0", "echarts": "^5.5.0",
"element-plus": "^2.7.0", "element-plus": "^2.8.1",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"moment": "^2.29.4", "moment": "^2.29.4",
"nanoid": "^5.0.7", "nanoid": "^5.0.7",

View File

@ -22,8 +22,6 @@ const tabSelected = ref<string>('0')
height: 100%; height: 100%;
box-shadow: none; box-shadow: none;
border: none; border: none;
display: flex;
flex-direction: column;
:deep(.el-tabs__nav) { :deep(.el-tabs__nav) {
width: 100%; width: 100%;
} }

View File

@ -102,8 +102,6 @@ watch(
width: 360px; width: 360px;
height: 100%; height: 100%;
border: none; border: none;
display: flex;
flex-direction: column;
.el-tabs__nav { .el-tabs__nav {
width: 100%; width: 100%;