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(),