From 85b581b232f22cbb382b0f133bd9aa041edd0178 Mon Sep 17 00:00:00 2001 From: Devosend Date: Fri, 2 Jun 2023 21:15:13 +0800 Subject: [PATCH] fix resource center upload file timeout bug (#14268) --- dolphinscheduler-ui/src/service/modules/resources/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/service/modules/resources/index.ts b/dolphinscheduler-ui/src/service/modules/resources/index.ts index dddfa3912a..7d7756325b 100644 --- a/dolphinscheduler-ui/src/service/modules/resources/index.ts +++ b/dolphinscheduler-ui/src/service/modules/resources/index.ts @@ -79,7 +79,8 @@ export function createResource( return axios({ url: '/resources', method: 'post', - data + data, + timeout: 0 }) }