(fn, wait)
| 839 | return result; |
| 840 | }, |
| 841 | debounce(fn, wait) { |
| 842 | if (this.debounceTimer !== null) { |
| 843 | clearTimeout(this.debounceTimer) |
| 844 | } |
| 845 | this.debounceTimer = setTimeout(fn, wait || 500) |
| 846 | }, |
| 847 | Toast(message, type) { |
| 848 | // Toast 提示 |
| 849 | const params = { |
no test coverage detected