소스 검색

版本管理删除问题

lcl 3 달 전
부모
커밋
1351d7d18a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: "删除成功",