首页信息删除 修改生产环境请求前缀

This commit is contained in:
陆一凡 2025-03-05 09:47:35 +08:00
parent 3cbe53d458
commit 79dde19e2b
3 changed files with 2 additions and 1021 deletions

View File

@ -5,4 +5,4 @@ VUE_APP_TITLE = 徐工WMS后台管理系统
ENV = 'production' ENV = 'production'
# 徐工WMS后台管理系统/生产环境 # 徐工WMS后台管理系统/生产环境
VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = '/'

View File

@ -15,6 +15,7 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
// 创建axios实例 // 创建axios实例
const service = axios.create({ const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分 // axios中请求配置有baseURL选项表示请求URL公共部分
// http://10.24.0.62:9990
baseURL: process.env.VUE_APP_BASE_API, baseURL: process.env.VUE_APP_BASE_API,
// 超时 // 超时
timeout: 10000 timeout: 10000

File diff suppressed because it is too large Load Diff