修复展示问题等问题

This commit is contained in:
2022-08-12 14:49:06 +08:00
parent f2cb612887
commit 056be42456
14 changed files with 898 additions and 807 deletions

View File

@@ -9,8 +9,8 @@ import router from '../router'
// 基础配置
const config = {
// apiUrl : 'https://api.gongli.vip/api/', // 正式环境
apiUrl: 'http://api.gl.shangkelian.cn/api/', // 测试
apiUrl : 'https://api.gongli.vip/api/', // 正式环境
// apiUrl: 'http://api.gl.shangkelian.cn/api/', // 测试
timeout: 60000
}
@@ -46,7 +46,7 @@ const request = (parameter, hideLoding = true) => {
data: parameter.data || {},
method: parameter.method || 'GET',
success: res => {
console.log(res)
// console.log(res)
if (res.header.Authorization) {
updateToken('token', res.header.Authorization)
}