Commit 04f29614 by Donny Wang Committed by GitHub

chore: fix typo (#4232)

1 parent df7757d0
...@@ -26,13 +26,13 @@ export function usePriorityValue< ...@@ -26,13 +26,13 @@ export function usePriorityValue<
// 通过判断原始props是否有值来判断是否传入 // 通过判断原始props是否有值来判断是否传入
const rawProps = (instance?.vnode?.props || {}) as T; const rawProps = (instance?.vnode?.props || {}) as T;
const standardRwaProps = {} as T; const standardRawProps = {} as T;
for (const [key, value] of Object.entries(rawProps)) { for (const [key, value] of Object.entries(rawProps)) {
standardRwaProps[kebabToCamelCase(key) as K] = value; standardRawProps[kebabToCamelCase(key) as K] = value;
} }
const propsKey = const propsKey =
standardRwaProps?.[key] === undefined ? undefined : props[key]; standardRawProps?.[key] === undefined ? undefined : props[key];
// slot可以关闭 // slot可以关闭
return getFirstNonNullOrUndefined( return getFirstNonNullOrUndefined(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!