You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
378 B

import { ElMessage } from 'element-plus'
export function notifyError(message : string) {
ElMessage({
type: 'error',
message
})
}
export function notifySuccess(message : string) {
ElMessage({
type: 'success',
message
})
}
export function notifyInfo(message : string) {
ElMessage({
type: 'info',
message
})
}