mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 04:15:56 +08:00
feat: replace existing page content with DemoForm component for improved layout
This commit is contained in:
parent
f8c11d9835
commit
6c59e68761
@ -1,19 +1,11 @@
|
|||||||
'use client'
|
'use client'
|
||||||
|
|
||||||
import { ToolTipContent } from '../components/base/tooltip/content'
|
import DemoForm from '../components/base/form/form-scenarios/demo'
|
||||||
import { SwitchPluginVersion } from '../components/workflow/nodes/_base/components/switch-plugin-version'
|
|
||||||
import { useTranslation } from 'react-i18next'
|
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
const { t } = useTranslation()
|
return (
|
||||||
return <div className="p-20">
|
<div className='flex h-screen w-full items-center justify-center p-20'>
|
||||||
<SwitchPluginVersion
|
<DemoForm />
|
||||||
uniqueIdentifier={'langgenius/openai:12'}
|
</div>
|
||||||
tooltip={<ToolTipContent
|
)
|
||||||
title={t('workflow.nodes.agent.unsupportedStrategy')}
|
|
||||||
>
|
|
||||||
{t('workflow.nodes.agent.strategyNotFoundDescAndSwitchVersion')}
|
|
||||||
</ToolTipContent>}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user