打包配置

This commit is contained in:
bb_pan 2025-02-13 16:24:17 +08:00
parent 889b4327bd
commit e722639d9e
4 changed files with 5 additions and 5 deletions

4
env/.env.dev vendored
View File

@ -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' # 盛旭

View File

@ -775,7 +775,7 @@ const routes: Array<RouteRecordRaw> = [
const router = createRouter({
// 路由模式
history: createWebHistory('/mall-view/'),
history: createWebHistory('/iws/mall-view/'),
routes
})

View File

@ -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
})

View File

@ -31,7 +31,7 @@ export default ({ mode }: any) => {
}
return defineConfig({
base: '/mall-view/',
base: '/iws/mall-view/',
plugins: [
vue(),
vueJsx(),