(message: string)
| 29 | } |
| 30 | |
| 31 | export const MsgError = (message: string) => { |
| 32 | ElMessage.error({ |
| 33 | message: message, |
| 34 | type: 'error', |
| 35 | showClose: true, |
| 36 | duration: 3000, |
| 37 | }) |
| 38 | } |
| 39 | |
| 40 | export const MsgAlert = (title: string, description: string, options?: any) => { |
| 41 | const defaultOptions: object = { |
no test coverage detected