mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 20:27:44 +08:00
fix(components): [color-picker] exposed show method wrong behavior (#14064)
fix(components): [color-picker] fix show method wrong behavior
This commit is contained in:
parent
fd7f4df020
commit
0a46c24da9
@ -215,7 +215,7 @@ function setShowPicker(value: boolean) {
|
||||
showPicker.value = value
|
||||
}
|
||||
|
||||
const debounceSetShowPicker = debounce(setShowPicker, 100)
|
||||
const debounceSetShowPicker = debounce(setShowPicker, 100, { leading: true })
|
||||
|
||||
function show() {
|
||||
if (colorDisabled.value) return
|
||||
|
Loading…
Reference in New Issue
Block a user