mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-30 11:16:12 +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[]) {
|
export function deduplicate<T>(arr: T[]) {
|
||||||
return [...new Set(arr)]
|
return Array.from(new Set(arr))
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user