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

@@ -55,18 +55,18 @@ import { useSaveMockData } from '../hook/use-save-mock-data';
import s from './index.module.less';
export enum CreationMode {
/** 弹窗形式 */
/** pop-up window */
MODAL = 'modal',
/** 嵌入页面 */
/** embed page */
CARD = 'card',
}
interface MockDataCreateCardProps {
mode: CreationMode;
mockInfo?: MockDataInfo;
// mode 为 modal 时生效
// Effective when modal mode
visible?: boolean;
// mode 为 modal 时生效
// Effective when modal mode
onCancel?: () => void;
onSuccess: (data?: mockset.MockRule[]) => void;
bizCtx: infra.BizCtx;
@@ -76,7 +76,7 @@ interface MockDataCreateCardProps {
};
}
/** 创建or编辑 mock data - */
/** Create or edit mock data - */
export function MockDataCreateCard({
mode,
mockInfo,
@@ -96,7 +96,7 @@ export function MockDataCreateCard({
useTransSchema(schema);
const { mock_set_id, tool_id } = useParams<DynamicParams>();
// space信息
// Space information
const spaceType = useSpaceStore(store => store.space.space_type);
const isPersonal = spaceType === SpaceType.Personal;