Dialog.confirm({
context: that,
title: '确认提示',
message: '费确认发布吗?',
beforeClose: (action) => {
console.log('这里进不来了', action);
if (action === 'confirm') {
}
}
}).catch((ex) => {
console.error(ex);
return Promise.resolve(false);
});
截图的是报错,但报的不是代码的错,不知道是否有关系???
找代码开发者看看