Explorar o código

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

lcl hai 2 meses
pai
achega
b7a431132d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: "同步成功",