From 7c1259846993b44e64af86110392f55c9427f2a3 Mon Sep 17 00:00:00 2001 From: Pengxiansen <2422914688@qq.com> Date: Wed, 26 Feb 2025 19:38:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/configGrowth.js | 4 ++-- src/views/growthpath/GrowthAddPath.vue | 6 +++--- vue.config.js | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/api/configGrowth.js b/src/api/configGrowth.js index ab3fedbe..2f010b28 100644 --- a/src/api/configGrowth.js +++ b/src/api/configGrowth.js @@ -18,8 +18,8 @@ import { boeRequest } from "@/api/request"; // "application/x-www-form-urlencoded"; axios.defaults.withCredentials = true; const http = axios.create({ - // baseURL: '/growth', - baseURL: process.env.VUE_APP_BASE_API_GROWTH, + baseURL: '/growth', + // baseURL: process.env.VUE_APP_BASE_API_GROWTH, timeout: 1000 * 15, // headers: { "Content-Type": "multipart/form-data" }, headers: { "Content-Type": "application/json" }, diff --git a/src/views/growthpath/GrowthAddPath.vue b/src/views/growthpath/GrowthAddPath.vue index 95d98e5a..45214fb3 100644 --- a/src/views/growthpath/GrowthAddPath.vue +++ b/src/views/growthpath/GrowthAddPath.vue @@ -562,7 +562,7 @@ export default { key: "stdPositionName", align: "center", ellipsis: true, - width: 400, + width: 300, customRender: ({ record }) => { return record.stdPosition ? `${record.stdPositionName}(${record.stdPosition})` @@ -585,11 +585,11 @@ export default { }, }, { - title: "必修|选修", + title: "必修丨选修", align: "center", ellipsis: true, customRender: ({ record }) => { - return `${record.requiredTaskNum}|${record.elePublishedNum}`; + return `${record.requiredTaskNum}丨${record.elePublishedNum}`; }, }, { diff --git a/vue.config.js b/vue.config.js index 4dc6c0d4..fb18ed6d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -18,16 +18,16 @@ module.exports = defineConfig({ overlay: false,// 解决代码抛出异常 }, proxy: { - "/professional": { - target: 'http://192.168.31.211:32002', - // target: 'http://192.168.50.195:32002', - // target: 'http://192.168.86.195:32002', - changeOrigin: true, - }, - // "/growth": { - // target: 'https:' + process.env.VUE_APP_BOE_API_URL, + // "/professional": { + // target: 'http://192.168.31.211:32002', + // // target: 'http://192.168.50.195:32002', + // // target: 'http://192.168.86.195:32002', // changeOrigin: true, // }, + "/growth": { + target: 'https:' + process.env.VUE_APP_BOE_API_URL, + changeOrigin: true, + }, "/manageApi": { target: 'https:' + process.env.VUE_APP_PROXY_URL, changeOrigin: true, //表示是否改变原域名