-
+
+
diff --git a/ui/src/layout/components/app-header/index.vue b/ui/src/layout/components/app-header/index.vue
index 2bb2ca148..dae395725 100644
--- a/ui/src/layout/components/app-header/index.vue
+++ b/ui/src/layout/components/app-header/index.vue
@@ -31,7 +31,4 @@ const isDefaultTheme = computed(() => {
top: 0;
z-index: 100;
}
-.custom-header {
- background: var(--el-color-primary-light-9) !important;
-}
diff --git a/ui/src/styles/app.scss b/ui/src/styles/app.scss
index dc2ad7803..5cb21c3e4 100644
--- a/ui/src/styles/app.scss
+++ b/ui/src/styles/app.scss
@@ -690,3 +690,8 @@ h5 {
box-shadow: none;
}
}
+
+// 自定义主题
+.custom-header {
+ background: var(--el-color-primary-light-9) !important;
+}
diff --git a/ui/src/views/chat/base/index.vue b/ui/src/views/chat/base/index.vue
index 91027dedf..81319e323 100644
--- a/ui/src/views/chat/base/index.vue
+++ b/ui/src/views/chat/base/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -16,7 +16,7 @@
diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue
index 994287f5a..50416a4ab 100644
--- a/ui/src/views/chat/pc/index.vue
+++ b/ui/src/views/chat/pc/index.vue
@@ -1,6 +1,6 @@
{{ applicationDetail?.name }}
-
+
{{ applicationDetail?.name }}
@@ -122,6 +122,10 @@ const {
const { application, user, log, common } = useStore()
+const isDefaultTheme = computed(() => {
+ return user.isDefaultTheme()
+})
+
const isCollapse = ref(false)
const classObj = computed(() => {