mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 03:38:41 +08:00
fix(cascader): fix cascader initial binding not working
This commit is contained in:
parent
41655b6847
commit
62d0e8def9
@ -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))
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user