(message: string)
| 9 | } |
| 10 | |
| 11 | function _sendSuccessMessage(message: string) { |
| 12 | ElMessage({message: prefix + message, type: 'success'}); |
| 13 | } |
| 14 | |
| 15 | // 使用防抖函数包装,1s 内只能发送一次消息 |
| 16 | export const sendErrorMessage = throttle(_sendErrorMessage, 1000); |
nothing calls this directly
no outgoing calls
no test coverage detected