From e722639d9e06b4557314ca09bbedff0a87d85299 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Thu, 13 Feb 2025 16:24:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env.dev | 4 ++-- src/router/index.ts | 2 +- src/views/user/contract-manage/index.vue | 2 +- vite.config.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/env/.env.dev b/env/.env.dev index f7c0fb7..bdbbcf4 100644 --- a/env/.env.dev +++ b/env/.env.dev @@ -7,9 +7,9 @@ VITE_API_URL = '/proxyApi' # 开发环境接口地址 # VITE_proxyTarget = 'http://10.40.92.74:8080' #盛旭 -VITE_proxyTarget = 'http://192.168.2.226:28080' # 马帅 +# VITE_proxyTarget = 'http://192.168.2.226:28080' # 马帅 # VITE_proxyTarget = 'http://192.168.2.122:28080' # 梁超 -# VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试服务 +VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试服务 # VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务 # VITE_proxyTarget = 'http://192.168.2.75:28080' # 盛旭 diff --git a/src/router/index.ts b/src/router/index.ts index 06d1cad..1d375ba 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -775,7 +775,7 @@ const routes: Array = [ const router = createRouter({ // 路由模式 - history: createWebHistory('/mall-view/'), + history: createWebHistory('/iws/mall-view/'), routes }) diff --git a/src/views/user/contract-manage/index.vue b/src/views/user/contract-manage/index.vue index a9c1e08..924d7ec 100644 --- a/src/views/user/contract-manage/index.vue +++ b/src/views/user/contract-manage/index.vue @@ -689,7 +689,7 @@ const onEditorReady = (editor) => { onMounted(() => { getContractListData() - uploadUrlTemp.value = window.location.origin + '/mall-view/contract-template.docx' + uploadUrlTemp.value = window.location.origin + '/iws/mall-view/contract-template.docx' // getEquipmentTypeApi().then((res: any) => { // deviceTypeTree.value = res.data }) diff --git a/vite.config.ts b/vite.config.ts index 93ef11b..b33f0ea 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -31,7 +31,7 @@ export default ({ mode }: any) => { } return defineConfig({ - base: '/mall-view/', + base: '/iws/mall-view/', plugins: [ vue(), vueJsx(),