Browse Source

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

lcl 2 months ago
parent
commit
b7a431132d
1 changed files with 1 additions and 1 deletions
  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: "同步成功",