From 7553ae5a1707b1e735b7b192777bda20e454463f Mon Sep 17 00:00:00 2001 From: labbomb <739955946@qq.com> Date: Sun, 27 Mar 2022 22:13:23 +0800 Subject: [PATCH] [Fix][UI Next][V1.0.0-Alpha] Empty data in UDF resources is uploaded (#9218) --- .../views/resource/udf/resource/components/upload-modal.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/components/upload-modal.tsx b/dolphinscheduler-ui-next/src/views/resource/udf/resource/components/upload-modal.tsx index 9c0b5714a5..fc4bf4318f 100644 --- a/dolphinscheduler-ui-next/src/views/resource/udf/resource/components/upload-modal.tsx +++ b/dolphinscheduler-ui-next/src/views/resource/udf/resource/components/upload-modal.tsx @@ -39,6 +39,9 @@ export default defineComponent({ const { handleUploadFile } = useModal(state, ctx) const hideModal = () => { + state.uploadForm.name = '' + state.uploadForm.description = '' + state.uploadForm.file = '' ctx.emit('update:show') }