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

@@ -22,9 +22,9 @@ export interface PageStateUpdateFunc<State extends object = object> {
}
/**
* 对state一层封装包含更新state、重置state
* A layer of encapsulation of state, including updating state and resetting state
*
* @deprecated 请使用 bot-hooks 的 useComponentStates
* @deprecated Please use the useComponentStates of bot-hooks
*/
export function usePageState<State extends object = object>(
initState: State,
@@ -52,7 +52,7 @@ export function usePageState<State extends object = object>(
useEffect(
() => () => {
// 自动重置状态
// Automatic reset status
if (destroyRef.current) {
resetState();
}