fix: 已知问题修复,vxe-table 样式丢失和乱码

This commit is contained in:
Ray.Hao
2026-01-14 16:19:13 +08:00
parent c7b94be799
commit b45554d098
9 changed files with 39 additions and 7343 deletions

View File

@@ -40,7 +40,7 @@ defineProps({
</style>
<style lang="scss">
// 顶部布局和混合布局的特殊处<EFBFBD>?
// 顶部布局和混合布局的特殊处
.layout-top,
.layout-mix {
.logo {

View File

@@ -101,7 +101,7 @@ const showTenantSelect = computed(() => {
if (tenantStore.tenantList.length === 0) {
return false;
}
// 如果只有一个租户,也不显示(单租户模式,用户无感知<EFBFBD>?
// 如果只有一个租户,也不显示(单租户模式,用户无感知
if (tenantStore.tenantList.length === 1) {
return false;
}
@@ -128,20 +128,20 @@ function handleProfileClick() {
router.push({ name: "Profile" });
}
// 根据主题和侧边栏配色方案选择样式<EFBFBD>?
// 根据主题和侧边栏配色方案选择样式
const navbarActionsClass = computed(() => {
const { theme, sidebarColorScheme, layout } = settingStore;
// 暗黑主题下,所有布局都使用白色文<EFBFBD>?
// 暗黑主题下,所有布局都使用白色文
if (theme === ThemeMode.DARK) {
return "navbar-actions--white-text";
}
// 明亮主题<EFBFBD>?
// 明亮主题
if (theme === ThemeMode.LIGHT) {
// 顶部布局和混合布局的顶部区域:
// - 如果侧边栏是经典蓝色,使用白色文<EFBFBD>?
// - 如果侧边栏是极简白色,使用深色文<EFBFBD>?
// - 如果侧边栏是经典蓝色,使用白色文
// - 如果侧边栏是极简白色,使用深色文
if (layout === LayoutMode.TOP || layout === LayoutMode.MIX) {
if (sidebarColorScheme === SidebarColor.CLASSIC_BLUE) {
return "navbar-actions--white-text";
@@ -155,7 +155,7 @@ const navbarActionsClass = computed(() => {
});
/**
* 退出登<EFBFBD>?
* 退出登
*/
function logout() {
ElMessageBox.confirm("确定注销并退出系统吗?", "提示", {
@@ -189,14 +189,14 @@ function handleSettingsClick() {
display: flex;
align-items: center;
justify-content: center;
min-width: 44px; /* 增加最小点击区域到44px符合人机交互标<EFBFBD>?*/
min-width: 44px; /* 增加最小点击区域到44px符合人机交互标*/
height: 44px;
padding: 0 8px;
text-align: center;
cursor: pointer;
transition: all 0.3s;
// 确保子元素居<EFBFBD>?
// 确保子元素居
> * {
display: flex;
align-items: center;
@@ -262,7 +262,7 @@ function handleSettingsClick() {
}
}
// 白色文字样式(用于深色背景:暗黑主题、顶部布局、混合布局<EFBFBD>?
// 白色文字样式(用于深色背景:暗黑主题、顶部布局、混合布局等)
.navbar-actions--white-text {
.navbar-actions__item {
:deep([class^="i-svg:"]) {
@@ -298,7 +298,7 @@ function handleSettingsClick() {
}
}
// 深色文字样式(用于浅色背景:明亮主题下的左侧布局<EFBFBD>?
// 深色文字样式(用于浅色背景:明亮主题下的左侧布局等)
.navbar-actions--dark-text {
.navbar-actions__item {
:deep([class^="i-svg:"]) {