import { ElMessage } from "element-plus"; export const useMsg = (type: any = "success", msg: string, duration?: number,
showClose?: boolean) => { ElMessage({ showClose: showClose ? showClose : false, message: msg, type: type, duration: duration ?
duration : 3000 }); };
