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/04 13:15:43 UTC

[dolphinscheduler] branch dev updated: [Fix-8680][UI Next][V1.0.0-Alpha] Startup env name pull-down menu support clear (#8700)

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 63c476a  [Fix-8680][UI Next][V1.0.0-Alpha] Startup env name pull-down menu support clear (#8700)
63c476a is described below

commit 63c476ac413597a30dd0f5dd92797c2873449825
Author: Devosend <de...@gmail.com>
AuthorDate: Fri Mar 4 21:15:36 2022 +0800

    [Fix-8680][UI Next][V1.0.0-Alpha] Startup env name pull-down menu support clear (#8700)
---
 .../src/views/projects/workflow/definition/components/start-modal.tsx   | 2 ++
 .../src/views/projects/workflow/definition/components/timing-modal.tsx  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx
index 9d5f543..5dab11b 100644
--- a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx
+++ b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx
@@ -262,6 +262,7 @@ export default defineComponent({
                 item.workerGroups?.includes(this.startForm.workerGroup)
               )}
               v-model:value={this.startForm.environmentCode}
+              clearable
             />
           </NFormItem>
           <NFormItem
@@ -272,6 +273,7 @@ export default defineComponent({
               options={this.alertGroups}
               placeholder={t('project.workflow.please_choose')}
               v-model:value={this.startForm.warningGroupId}
+              clearable
             />
           </NFormItem>
           <NFormItem
diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx
index 3ddfe81..26aa5e7 100644
--- a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx
+++ b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx
@@ -348,6 +348,7 @@ export default defineComponent({
                 item.workerGroups?.includes(this.timingForm.workerGroup)
               )}
               v-model:value={this.timingForm.environmentCode}
+              clearable
             />
           </NFormItem>
           <NFormItem
@@ -358,6 +359,7 @@ export default defineComponent({
               options={this.alertGroups}
               placeholder={t('project.workflow.please_choose')}
               v-model:value={this.timingForm.warningGroupId}
+              clearable
             />
           </NFormItem>
         </NForm>