let confirmText = [
'请确定要将该张发票红冲?',
`红字信息表编号:${this.redNumberList.redNumber}`
]
const newDatas = []
const h = this.$createElement
for (const i in confirmText) {
newDatas.push(h('p', null, confirmText[i]))
}
this.$confirm('提示', {
title: '提示',
message: h('div', null, newDatas),
confirmButtonText: '确定',
cancelButtonText: '取消',
center: true
}).then(async () => {
}
}).catch(() => {})
element this.$confirm 显示多条数据
最新推荐文章于 2024-01-21 21:47:03 发布