From f3c578b9ed1d5f6b6271d3c03f9d30352a9c2c2c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 31 五月 2023 17:28:30 +0800
Subject: [PATCH] 1.生产入库实现45%

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

diff --git a/src/components/ThemePicker/index.vue b/src/components/ThemePicker/index.vue
index 3879c5a..28c5f66 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"
   />
@@ -35,10 +35,9 @@
       if (typeof val !== 'string') return
       const themeCluster = this.getThemeCluster(val.replace('#', ''))
       const originalCluster = this.getThemeCluster(oldVal.replace('#', ''))
-      console.log(themeCluster, originalCluster)
 
       const $message = this.$message({
-        message: '  Compiling the theme',
+        message: '  姝e湪鍒囨崲涓婚',
         customClass: 'theme-message',
         type: 'success',
         duration: 0,
@@ -61,7 +60,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