新建文件夹

This commit is contained in:
赵正易
2024-03-28 16:04:35 +08:00
parent 54070d803d
commit 7a0c694173
8 changed files with 231 additions and 18 deletions

View File

@@ -18,9 +18,9 @@ import {
let timeout = 10000
const request = config => {
// 浏览器测试用
const storageBaseUrl = 'http://' + getBaseUrl() + '/api';
// const storageBaseUrl = 'http://' + getBaseUrl() + '/api';
// 真机测试以及部署用
//const storageBaseUrl = 'http://' + getBaseUrl();
const storageBaseUrl = 'http://' + getBaseUrl();
// 是否需要设置 token
const isToken = (config.headers || {}).isToken === false
config.header = config.header || {}