fix(Toast): lockCount might be minus

This commit is contained in:
chenjiahan 2020-10-23 22:17:54 +08:00
parent 763018907d
commit a82a1202cd

View File

@ -7,7 +7,7 @@ export function lockClick(lock: boolean) {
} }
lockCount++; lockCount++;
} else { } else if (lockCount) {
lockCount--; lockCount--;
if (!lockCount) { if (!lockCount) {