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

@@ -66,8 +66,8 @@ export const PopInScreen: FC<IProps> = props => {
}
/**
* ahooks useSize 初次执行会返回 undefined,导致组件位置计算错误
* 这里监听 childrenSize ,如果为 undefined 则延迟 100ms 再渲染,以修正组件位置
* ahooks useSize returns undefined on first execution, resulting in an error in component location evaluation
* This listens to childrenSize. If it is undefined, delay rendering by 100ms to correct the component position.
*/
const [id, setId] = useState('');
const timer = useRef<NodeJS.Timeout>();
@@ -109,7 +109,7 @@ export const PopInScreen: FC<IProps> = props => {
transform,
}}
>
{/* 为了触发二次渲染 */}
{/* To trigger secondary rendering */}
<div className="hidden" id={id} />
{children}
</div>