123456789101112131415161718192021 |
- "use strict";
- exports.__esModule = true;
- exports.lockClick = lockClick;
- var lockCount = 0;
- function lockClick(lock) {
- if (lock) {
- if (!lockCount) {
- document.body.classList.add('van-toast--unclickable');
- }
- lockCount++;
- } else {
- lockCount--;
- if (!lockCount) {
- document.body.classList.remove('van-toast--unclickable');
- }
- }
- }
|