popupToast

引入:

import popupToast from 'popupToast';

使用:

var toastMsg = {
    bodyText: text, 
    timer: 2222,           //可不传;默认2000ms
    callBackFunc: function(){ alert('test')}  // 可不传,默认null;
}
this.$broadcast('show-popup-toast', toastMsg);