(message, type)
| 845 | this.debounceTimer = setTimeout(fn, wait || 500) |
| 846 | }, |
| 847 | Toast(message, type) { |
| 848 | // Toast 提示 |
| 849 | const params = { |
| 850 | command: 'toast', |
| 851 | type, |
| 852 | data: message |
| 853 | } |
| 854 | window.parent.postMessage(params, '*') // 用 iframe 外的toast 防止iframe过大 导致toast显示位置不对 |
| 855 | }, |
| 856 | setTranslate3d(translate3d, type, value) { |
| 857 | // 设置元素的translate3d属性值 |
| 858 | if (translate3d === '') { |
nothing calls this directly
no outgoing calls
no test coverage detected