|
|
@ -110,7 +110,7 @@ export function setupHttp(app) { |
|
|
|
app.config.globalProperties.$u.get = async (url, param = {}, header = {}) => { |
|
|
|
let res = await app.config.globalProperties.$u.http.request({ |
|
|
|
url, |
|
|
|
method: 'POST', |
|
|
|
method: 'GET', |
|
|
|
header, |
|
|
|
data: { |
|
|
|
param |
|
|
@ -121,7 +121,7 @@ export function setupHttp(app) { |
|
|
|
await store.dispatch('user/getTokenByRefreshToken', refreshToken); |
|
|
|
res = await app.config.globalProperties.$u.http.request({ |
|
|
|
url, |
|
|
|
method: 'POST', |
|
|
|
method: 'GET', |
|
|
|
header, |
|
|
|
data: { |
|
|
|
param |
|
|
|