mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Toast): lockCount might be minus
This commit is contained in:
parent
763018907d
commit
a82a1202cd
@ -7,7 +7,7 @@ export function lockClick(lock: boolean) {
|
||||
}
|
||||
|
||||
lockCount++;
|
||||
} else {
|
||||
} else if (lockCount) {
|
||||
lockCount--;
|
||||
|
||||
if (!lockCount) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user