Ver código fonte

版本管理删除问题

lcl 3 meses atrás
pai
commit
1351d7d18a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/app/appVersion/hook.tsx

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

@@ -148,7 +148,7 @@ export function useAppVersion() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appVersiondelete.method, url: UrlList.kxsConfigServer.appVersiondelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appVersiondelete.method, url: UrlList.kxsConfigServer.appVersiondelete.url, params: String(row.id) });
       if (status === 1) {
         ElMessage({
           message: "删除成功",