From 5f82b0d010b6f9c54ea6a57216abf31caf6b2bdc Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 19 Jun 2024 10:58:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B7=A5=E4=BD=9C=E6=B5=81=E7=BC=96?= =?UTF-8?q?=E6=8E=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/icons/index.ts | 21 +++++++++++++++++++++ ui/src/views/application-workflow/index.vue | 9 ++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/ui/src/components/icons/index.ts b/ui/src/components/icons/index.ts index d936f0c19..a5fe5fc09 100644 --- a/ui/src/components/icons/index.ts +++ b/ui/src/components/icons/index.ts @@ -975,5 +975,26 @@ export const iconMap: any = { ) ]) } + }, + 'app-play-outlined': { + iconReader: () => { + return h('i', [ + h( + 'svg', + { + style: { height: '100%', width: '100%' }, + viewBox: '0 0 14 14', + version: '1.1', + xmlns: 'http://www.w3.org/2000/svg' + }, + [ + h('path', { + d: 'M3.72924 12.114L10.8299 7.75969C11.0966 7.59484 11.2583 7.30819 11.2583 7.00001C11.2583 6.69184 11.0966 6.40571 10.8299 6.24033L3.72976 1.8865C3.58406 1.79736 3.41652 1.74977 3.24571 1.75C3.00419 1.75037 2.77234 1.84492 2.59944 2.01355C2.42829 2.18155 2.33221 2.40888 2.33326 2.64565V11.3554C2.33326 11.5229 2.38156 11.6867 2.47186 11.8295C2.60121 12.0319 2.80546 12.1748 3.03991 12.2269C3.27616 12.2805 3.52396 12.24 3.72924 12.114ZM3.49993 10.8861L9.83696 7.00002L3.49993 3.11411V10.8861Z', + fill: '#1F2329' + }) + ] + ) + ]) + } } } diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index b32b2128b..7c3a1988e 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -9,7 +9,7 @@ 添加组件 - 调试 + 调试 保存 @@ -82,6 +82,9 @@ function getGraphData() { function getDetail() { application.asyncGetApplicationDetail(id, loading).then((res: any) => { + res.data?.work_flow['nodes'].map((v: any) => { + v['properties']['noRender'] = true + }) detail.value = res.data }) } @@ -135,9 +138,9 @@ onBeforeUnmount(() => { user-select: none; /* CSS3属性 */ position: absolute; top: 110px; - right: 24px; + right: 23px; z-index: 99; - width: 240px; + width: 253px; box-shadow: 0px 4px 8px 0px var(--app-text-color-light-1); background: #ffffff; padding-bottom: 8px;