diff --git a/web/app/components/app/app-publisher/index.tsx b/web/app/components/app/app-publisher/index.tsx index 95cab5409..085d85c98 100644 --- a/web/app/components/app/app-publisher/index.tsx +++ b/web/app/components/app/app-publisher/index.tsx @@ -193,65 +193,72 @@ const AppPublisher = ({ ) } + { + !(detail?.mode === 'workflow' || detail?.mode === null) && ( +
+
+
+ 智能体中心 +
+
+ { + onSelect(item.value) + } + } + items={selects && selects.map((item) => { + return { + value: item.id, + name: item.name, + } + })} + /> +
+
+ + +
+
+
+ ) + }
-
- 智能体中心 -
-
- { - onSelect(item.value) - } - } - items={selects && selects.map((item) => { - return { - value: item.id, - name: item.name, - } - })} - /> -
-
- - -
-
-
- }>{t('workflow.common.runApp')} + }>{t('workflow.common.runApp')} {appDetail?.mode === 'workflow' ? ( } + icon={} > {t('workflow.common.batchRunApp')} @@ -263,12 +270,13 @@ const AppPublisher = ({ handleTrigger() }} disabled={!publishedTime} - icon={} + icon={} > {t('workflow.common.embedIntoSite')} )} - }>{t('workflow.common.accessAPIReference')} + }>{t('workflow.common.accessAPIReference')} {appDetail?.mode === 'workflow' && ( - + ) }