fix(cascader): fix cascader initial binding not working

This commit is contained in:
JeremyWuuuuu 2020-11-24 01:03:30 +08:00 committed by hangzou
parent 41655b6847
commit 62d0e8def9

View File

@ -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))
}
/**