浏览代码

优化打包

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);