fix bugs
This commit is contained in:
@@ -5,11 +5,9 @@
|
||||
|
||||
// 开发环境配置
|
||||
const development = {
|
||||
// 使用代理,请求会被转发到 vue.config.js 中配置的目标地址
|
||||
baseURL: 'http://localhost:8123',
|
||||
timeout: 30000,
|
||||
// 如果需要代理,可以配置
|
||||
baseURL: '/api'
|
||||
// 使用代理路径(vue.config.js会将/api代理到http://localhost:8123)
|
||||
baseURL: '/api',
|
||||
timeout: 30000
|
||||
}
|
||||
|
||||
// 测试环境配置
|
||||
|
||||
Reference in New Issue
Block a user