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

@@ -78,8 +78,8 @@ export const useFabricEditor = ({
}) => {
const schema: FabricSchema = useMemo(() => {
/**
* 兼容历史数据
* 删除时机,见 apps/fabric-canvas-node-render/utils/replace-ref-value.ts 注释
* Compatible with historical data
* Delete timing, see apps/fabric-canvas-node-render/utils/replace-ref-value.ts comment
*/
if (
!_schema?.customVariableRefs &&
@@ -106,7 +106,7 @@ export const useFabricEditor = ({
const objectLength = useMemo(() => schema.objects.length, [schema]);
/**
* 最大可添加元素数量限制
* Maximum number of elements that can be added
*/
const MAX_OBJECT_LENGTH = 50;
const couldAddNewObject = useMemo(
@@ -121,7 +121,7 @@ export const useFabricEditor = ({
height: schema.height,
});
// 初始化 fabric canvas
// Initialize fabric canvas
const { canvas, loadFromJSON } = useInitCanvas({
startInit,
ref: ref.current,