From 0af5e35af8338cc8a2e38c19ab79efbb9eff0b2c Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期三, 16 九月 2026 17:02:52 +0800
Subject: [PATCH] feat(crm): 信用评级评定人改为下拉选择并默认当前账号
---
vite.config.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/vite.config.ts b/vite.config.ts
index 5b47f2d..58d7189 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -16,6 +16,7 @@
const defineVars: Record<string, string> = {
__APP_LOGO__: JSON.stringify(appLogo),
__APP_FAVICON__: JSON.stringify(appFavicon),
+ __APP_NAME__: JSON.stringify(company?.name ?? ''),
};
if (!isDev && appApiUrl) {
defineVars['import.meta.env.VITE_GLOB_API_URL'] = JSON.stringify(appApiUrl);
@@ -39,7 +40,7 @@
enable: false,
},
optimizeDeps: {
- include: ["vue", "vue-router", "pinia", "ant-design-vue", "dayjs", "@vueuse/core", "axios", "@vue-office/pdf", "@vue-office/docx", "@vue-office/excel", "@vue-office/pptx"],
+ include: ["vue", "vue-router", "pinia", "ant-design-vue", "dayjs", "@vueuse/core", "axios"],
exclude: ["dhtmlx-gantt", "tinymce", "bpmn-js", "bpmn-js-properties-panel", "video.js"],
},
build: {
@@ -75,7 +76,7 @@
proxy: {
"/admin-api": {
changeOrigin: true,
- target: "http://192.168.0.10:48080",
+ target: "http://127.0.0.1:48080",
ws: true,
},
},
--
Gitblit v1.9.3