소스 검색

优化打包

ZaiZai 2 년 전
부모
커밋
e925b5ef64
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/api/modules/other.js

+ 1 - 1
src/api/modules/other.js

@@ -61,6 +61,6 @@ export const getApprovesList = (form, msg = true) => httpApi({
 
 //获取更新信息
 export const getVersionJson = () => httpApi({
-    url: 'version.json',
+    url: 'version.json?time=' + new Date().getTime(),
     method: 'get'
 }, false);