let returnMsgList = [
"1、是否确认",
"2、页面中填写,请确认填写是否正确!"
];
let threemsg = '';
returnMsgList.push(threemsg);
let newDatas = [];
let h = this.$createElement;
for (const i in returnMsgList) {
if (i != 2) {
newDatas.push(h('p', null, returnMsgList[i]))
}else {
newDatas.push(h('p', { style: 'color: red'}, returnMsgList[i]))
}
}
this.$confirm( h('div', null, newDatas), '请确认信息', {
confirmButtonText: '是',
cancelButtonText: '否'
})
.then(() => {
toDO();
})
.catch(action => {
document.getElementById("totalOut").scrollIntoView();
});