chore: migrate fe 250722

This commit is contained in:
tecvan
2025-07-22 13:35:49 +08:00
parent b46a0c6c12
commit 60d42100f0
330 changed files with 9761 additions and 19074 deletions

View File

@@ -89,7 +89,7 @@ export const useCreateWorkflowModal = ({
};
const workflowModalInitState = useMemo(() => {
// 社区版暂不支持该功能
// 开源版暂不支持该功能
if (isWorkflowMode || FLAGS['bot.community.store_imageflow']) {
return {
productCategory: 'all',

View File

@@ -126,7 +126,7 @@ export const useWorkflowResourceMenuActions = (
{
hide:
!enablePublishEntry || // 上架入口加白
// 社区版暂不支持该功能
// 开源版暂不支持该功能
(!FLAGS['bot.community.store_imageflow'] && isImageFlow) || // Imageflow 不支持商店
!isSelfCreator ||
bizExtend?.plugin_id === '0',

View File

@@ -56,7 +56,7 @@ const flowModeOptions = [
value: WorkflowMode.ChatFlow,
},
].filter(item => {
// 社区版本暂不支持对话流
// 开源版本暂不支持对话流
if (item.value === WorkflowMode.ChatFlow && IS_OPEN_SOURCE) {
return false;
}