瀏覽代碼

资源文件更新需要加版本号

lcl 2 月之前
父節點
當前提交
b7a431132d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/app/fileUpdateInfo/hook.tsx

+ 1 - 1
src/views/app/fileUpdateInfo/hook.tsx

@@ -166,7 +166,7 @@ export function useFileUpdateInfo() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.fileUpdateInfoupdateFile.method, url: UrlList.kxsConfigServer.fileUpdateInfoupdateFile.url, params: { kind: form.kind } });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.fileUpdateInfoupdateFile.method, url: UrlList.kxsConfigServer.fileUpdateInfoupdateFile.url, params: { kind: form.kind, appVersion: form.appVersion } });
       if (status === 1) {
         ElMessage({
           message: "同步成功",