Element-UI通知notify //在methods方法下 /** * @param msg 展示信息 * @param type 1:提示 2:警告 3:错误 4 :成功 */ showWindowMessage:function(type,msg){ if (!msg){ return; } switch(type){ case 1: this.$notify.info({ title: '提示', message: msg, customClass:'messageInfo', position: 'bottom-right', duration