mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00: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