zhangwei 2 anni fa
parent
commit
400875a5d9
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/http/fetch.js

+ 1 - 0
src/http/fetch.js

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