优化代码
This commit is contained in:
@@ -15,10 +15,10 @@ import { setStorage , getStorage } from '@/utils/storage.js';
|
||||
let baseURL = ''
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// 生产环境
|
||||
baseURL = "https://pk.zhukeping.com/"
|
||||
baseURL = "https://pk.hanxiaokj.cn/"
|
||||
} else {
|
||||
// 测试环境
|
||||
baseURL = "https://pk.zhukeping.com/"
|
||||
baseURL = "https://pk.hanxiaokj.cn/"
|
||||
}
|
||||
|
||||
// 请求拦截器
|
||||
|
||||
Reference in New Issue
Block a user