|
@@ -20,6 +20,7 @@ export async function commonFetch({ url, method = 'POST' , params = {}, baseInfo
|
|
let _url = baseAPIUrl + url
|
|
let _url = baseAPIUrl + url
|
|
fetch(_url, {
|
|
fetch(_url, {
|
|
method: method, // or 'PUT'
|
|
method: method, // or 'PUT'
|
|
|
|
+ cache: 'no-cache',
|
|
headers: {
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
'Content-Type': 'application/json',
|
|
},
|
|
},
|