确认弹窗的取消按钮bug修复

yangwl
zhaoxiaolin 1 year ago
parent 2ca99f1b7d
commit 4c71ddc074

@ -1235,13 +1235,24 @@ export default {
},
// -SAP
handleSyncSAP() {
this.loading = true;
let _this = this;
this.$modal.confirm('是否确认SAP同步操作步骤').then(function () {
return syncSAP()
}).then(() => {
this.getList()
this.loading = false;
this.$modal.msgSuccess('同步成功')
}).catch(() => {
})
}).catch(
function (e) {
if (e == 'cancel') {
_this.loading = false;
} else if(e == 'close') {
_this.loading = false;
}
}
)
}
}

Loading…
Cancel
Save