You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/03/27 14:13:32 UTC
[dolphinscheduler] branch dev updated: [Fix][UI Next][V1.0.0-Alpha] Empty data in UDF resources is uploaded (#9218)
This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 7553ae5 [Fix][UI Next][V1.0.0-Alpha] Empty data in UDF resources is uploaded (#9218)
7553ae5 is described below
commit 7553ae5a1707b1e735b7b192777bda20e454463f
Author: labbomb <73...@qq.com>
AuthorDate: Sun Mar 27 22:13:23 2022 +0800
[Fix][UI Next][V1.0.0-Alpha] Empty data in UDF resources is uploaded (#9218)
---
.../src/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 9c0b571..fc4bf43 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')
}