Skip to content

Commit

Permalink
fix(cascader): fix cascader initial binding not working
Browse files Browse the repository at this point in the history
  • Loading branch information
jw-foss authored and zouhangwithsweet committed Nov 24, 2020
1 parent 41655b6 commit 62d0e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export function arrayFlat(arr: unknown[]) {
}

export function deduplicate<T>(arr: T[]) {
return [...new Set(arr)]
return Array.from(new Set(arr))
}

/**
Expand Down

0 comments on commit 62d0e8d

Please sign in to comment.