[inula]<refactor> 格式修复

This commit is contained in:
13659257719 2023-12-01 10:41:42 +08:00
parent 9dbd6244b5
commit 15927bf37d
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ import { setStateChange } from '../render/FunctionComponent';
import { getHookStage, HookStage } from './HookStage'; import { getHookStage, HookStage } from './HookStage';
import type { VNode } from '../Types'; import type { VNode } from '../Types';
import { getProcessingVNode } from '../GlobalVar'; import { getProcessingVNode } from '../GlobalVar';
import { markUpdatedInRender } from "./HookMain"; import { markUpdatedInRender } from './HookMain';
// 构造新的Update数组 // 构造新的Update数组
function insertUpdate<S, A>(action: A, hook: Hook<S, A>): Update<S, A> { function insertUpdate<S, A>(action: A, hook: Hook<S, A>): Update<S, A> {

View File

@ -74,7 +74,7 @@ export function getLazyVNodeTag(lazyComp: any): string {
} else if (lazyComp !== undefined && lazyComp !== null && typeLazyMap[lazyComp.vtype]) { } else if (lazyComp !== undefined && lazyComp !== null && typeLazyMap[lazyComp.vtype]) {
return typeLazyMap[lazyComp.vtype]; return typeLazyMap[lazyComp.vtype];
} }
throw Error("Inula can't resolve the content of lazy"); throw Error('Inula can\'t resolve the content of lazy');
} }
// 创建processing // 创建processing