打包配置
This commit is contained in:
parent
889b4327bd
commit
e722639d9e
|
|
@ -7,9 +7,9 @@ VITE_API_URL = '/proxyApi'
|
||||||
# 开发环境接口地址
|
# 开发环境接口地址
|
||||||
# VITE_proxyTarget = 'http://10.40.92.74:8080' #盛旭
|
# 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://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.0.244:28580' # 测试服务
|
||||||
# VITE_proxyTarget = 'http://192.168.2.75:28080' # 盛旭
|
# VITE_proxyTarget = 'http://192.168.2.75:28080' # 盛旭
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -775,7 +775,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
// 路由模式
|
// 路由模式
|
||||||
history: createWebHistory('/mall-view/'),
|
history: createWebHistory('/iws/mall-view/'),
|
||||||
routes
|
routes
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -689,7 +689,7 @@ const onEditorReady = (editor) => {
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getContractListData()
|
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) => {
|
// getEquipmentTypeApi().then((res: any) => {
|
||||||
// deviceTypeTree.value = res.data
|
// deviceTypeTree.value = res.data
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ export default ({ mode }: any) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return defineConfig({
|
return defineConfig({
|
||||||
base: '/mall-view/',
|
base: '/iws/mall-view/',
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
vueJsx(),
|
vueJsx(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue