You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/08/02 11:09:39 UTC
[dolphinscheduler] 01/11: [Fix] Parameter values disappear when editing Zeppelin task (#11115)
This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch 3.0.0-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit f7ed6ef8504b86decd0726a4d4bbabaec6e7ad72
Author: pinkhello <le...@163.com>
AuthorDate: Thu Jul 28 15:03:26 2022 +0800
[Fix] Parameter values disappear when editing Zeppelin task (#11115)
(cherry picked from commit 2e81f3029832f5db76df47b07802fbf5b181e8e2)
---
.../src/views/projects/task/components/node/fields/use-zeppelin.ts | 4 ++--
.../src/views/projects/task/components/node/format-data.ts | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-zeppelin.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-zeppelin.ts
index 5cbe70f15a..fae5727790 100644
--- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-zeppelin.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-zeppelin.ts
@@ -24,7 +24,7 @@ export function useZeppelin(model: { [field: string]: any }): IJsonItem[] {
return [
{
type: 'input',
- field: 'zeppelinNoteId',
+ field: 'noteId',
name: t('project.node.zeppelin_note_id'),
props: {
placeholder: t('project.node.zeppelin_note_id_tips')
@@ -41,7 +41,7 @@ export function useZeppelin(model: { [field: string]: any }): IJsonItem[] {
},
{
type: 'input',
- field: 'zeppelinParagraphId',
+ field: 'paragraphId',
name: t('project.node.zeppelin_paragraph_id'),
props: {
placeholder: t('project.node.zeppelin_paragraph_id_tips')
diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts
index 5d441635f0..1e2a8f14a4 100644
--- a/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts
@@ -314,8 +314,8 @@ export function formatParams(data: INodeData): {
}
if (data.taskType === 'ZEPPELIN') {
- taskParams.noteId = data.zeppelinNoteId
- taskParams.paragraphId = data.zeppelinParagraphId
+ taskParams.noteId = data.noteId
+ taskParams.paragraphId = data.paragraphId
}
if (data.taskType === 'PIGEON') {