chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -41,7 +41,7 @@ export function useNavigateWorkflowEditPage(
setWorkflowState: state.setWorkflowState,
}));
// 为了兼容老逻辑,优先使用 url 参数
// In order to be compatible with the old logic, the URL parameter is preferred
const spaceID = spaceIDFromURL ?? param?.spaceID;
const botID = botIDFromURL ?? '';
@@ -49,7 +49,7 @@ export function useNavigateWorkflowEditPage(
if (!workflowID || !spaceID) {
return;
}
// 只有single模式下才会设置保留workflow弹窗的keep
// Only in single mode will the keep workflow pop-up be set
if (useBotInfoStore.getState().mode === BotMode.SingleMode) {
setWorkflowState({ showModalDefault: !!workflowModalState });
}