Skip to content

Commit

Permalink
chore: fix typo (#4232)
Browse files Browse the repository at this point in the history
  • Loading branch information
coderwyd authored Aug 26, 2024
1 parent df7757d commit 04f2961
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@core/composables/src/use-priority-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ export function usePriorityValue<
// 通过判断原始props是否有值来判断是否传入
const rawProps = (instance?.vnode?.props || {}) as T;

const standardRwaProps = {} as T;
const standardRawProps = {} as T;

for (const [key, value] of Object.entries(rawProps)) {
standardRwaProps[kebabToCamelCase(key) as K] = value;
standardRawProps[kebabToCamelCase(key) as K] = value;
}
const propsKey =
standardRwaProps?.[key] === undefined ? undefined : props[key];
standardRawProps?.[key] === undefined ? undefined : props[key];

// slot可以关闭
return getFirstNonNullOrUndefined(
Expand Down

0 comments on commit 04f2961

Please sign in to comment.