赞
踩
data() { return { notifyPromise:Promise.resolve(), } } // 消息循环提醒 notify(title,msg) { this.notifyPromise = this.notifyPromise.then(this.$nextTick).then(()=>{ this.$notify({ type: 'warning', title: title, message: msg, dangerouslyUseHTMLString: true, duration: 4000, }); }) },
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。