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' });