(overlay)
| 254 | |
| 255 | // 隐藏加载状态 |
| 256 | hideLoading(overlay) { |
| 257 | if (overlay) { |
| 258 | overlay.classList.remove('show'); |
| 259 | setTimeout(() => { |
| 260 | if (overlay.parentNode) { |
| 261 | overlay.parentNode.removeChild(overlay); |
| 262 | } |
| 263 | }, 300); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | // 防抖函数 |
| 268 | debounce(func, wait) { |
nothing calls this directly
no outgoing calls
no test coverage detected