let data = ['导入成功条数:' + response.data.successNum + '条;', '导入失败条数:' + response.data.failNum + '条;', '导入失败原因:'+response.data.failMsg]; let newDatas = []; const h = this.$createElement; for (let i in data) { newDatas.push(h('p', null, data[i])); } this.$notify({ title: '导入', message: h('div', null, newDatas), type: 'success', position: 'bottom-right' });
element-ui Message消息提示文字换行
最新推荐文章于 2024-06-08 12:45:00 发布