ElMessageBox.alert(msg, 'message.box.title', { type: 'warning' }); } // 成功提示 success(msg: string): void { ElMessageBox.alert(msg, 'message.box.title', { type: 'success' }); } // 错误提示 error(msg: string): void { ElMessageBox.alert(msg, 'message.box.title', { type:...
publicsuccess(message:string):void{ ElMessage({ type:'success', message, }); } publicerror(message:string):void{ ElMessage({ type:'error', message, }); } publicwarning(message:string):void{ ElMessage({ type:'warning', message, }); } publicinfo(message:string):void{ ElMessage({ type...