From e3edb24ee6b15cb7e67abf6c0ebfe731fbcb4a4c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 22 四月 2023 09:50:49 +0800
Subject: [PATCH] 1.采购收货单新增查看详情功能
---
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