Fix plugin runtime cannot upload files (#3271)

* app logo

* fix: plugin runtime cannot upload file
This commit is contained in:
Archer
2024-11-28 22:47:24 +08:00
committed by GitHub
parent 93e302b7e8
commit 6c77134e82
5 changed files with 27 additions and 15 deletions

View File

@@ -53,18 +53,18 @@ const CreateModal = ({
[AppTypeEnum.simple]: {
icon: 'core/app/simpleBot',
title: t('app:type.Create simple bot'),
avatar: '/imgs/app/avatar/simple.svg',
avatar: 'core/app/type/simpleFill',
emptyCreateText: t('app:create_empty_app')
},
[AppTypeEnum.workflow]: {
icon: 'core/app/type/workflowFill',
avatar: '/imgs/app/avatar/workflow.svg',
avatar: 'core/app/type/workflowFill',
title: t('app:type.Create workflow bot'),
emptyCreateText: t('app:create_empty_workflow')
},
[AppTypeEnum.plugin]: {
icon: 'core/app/type/pluginFill',
avatar: '/imgs/app/avatar/plugin.svg',
avatar: 'core/app/type/pluginFill',
title: t('app:type.Create plugin bot'),
emptyCreateText: t('app:create_empty_plugin')
}