vue3+view-ui-plus中封装Messagevue3+view-ui-plus中封装Message
vue3+view-ui-plus中封装Messageimport { Message } from 'view-ui-plus'const MessageSuccess = (text = '成功') => { Message.info({ content: text, duration: 10, background: true, closable: true });}const MessageError = (text = '错误') =&