From b012ab3a1e5495be068c543eb8f0482124db13b5 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 31 十二月 2022 16:48:22 +0800
Subject: [PATCH] 1.登录页文字跟随系统变化

---
 src/components/ThemePicker/index.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/components/ThemePicker/index.vue b/src/components/ThemePicker/index.vue
index 3879c5a..0326942 100644
--- a/src/components/ThemePicker/index.vue
+++ b/src/components/ThemePicker/index.vue
@@ -1,7 +1,7 @@
 <template>
   <el-color-picker
     v-model="theme"
-    :predefine="['#409EFF', '#1890ff', '#304156','#212121','#11a983', '#13c2c2', '#6959CD', '#f5222d', ]"
+    :predefine="['#409EFF', '#1890ff', '#304156','#212121','#42B983','#11a983', '#13c2c2', '#6959CD', '#f5222d', ]"
     class="theme-picker"
     popper-class="theme-picker-dropdown"
   />
@@ -38,7 +38,7 @@
       console.log(themeCluster, originalCluster)
 
       const $message = this.$message({
-        message: '  Compiling the theme',
+        message: '  姝e湪鍒囨崲涓婚',
         customClass: 'theme-message',
         type: 'success',
         duration: 0,
@@ -61,7 +61,12 @@
       }
 
       if (!this.chalk) {
-        const url = `https://unpkg.com/element-ui@${version}/lib/theme-chalk/index.css`
+        // const url = `https://unpkg.com/element-ui@${version}/lib/theme-chalk/index.css`
+        // https://unpkg.com/element-ui@2.15.6/lib/theme-chalk/index.css
+
+        // http://121.196.36.24:8001/VueTheme/theme.css
+        // const url = 'http://121.196.36.24:8001/VueTheme/theme.css'
+        const url = process.env.VUE_APP_BASE_API_FILE + '/VueTheme/theme.css'
         await this.getCSSString(url, 'chalk')
       }
 

--
Gitblit v1.9.3