mirror of
https://github.com/youzan/vant.git
synced 2026-01-22 01:02:23 +08:00
fix(Toast): lockCount might be minus
This commit is contained in:
@@ -7,7 +7,7 @@ export function lockClick(lock: boolean) {
|
||||
}
|
||||
|
||||
lockCount++;
|
||||
} else {
|
||||
} else if (lockCount) {
|
||||
lockCount--;
|
||||
|
||||
if (!lockCount) {
|
||||
|
||||
Reference in New Issue
Block a user