提交 abe4858d authored 作者: matian's avatar matian

bug fixes

上级 70c26dcb
......@@ -138,8 +138,16 @@ export default {
title: '提示',
message: '还有报名流程未交费',
confirmButtonText: '继续报名',
cancelButtonText: this.detailList.self_fill_in.need_fill_in_status === false ? canJump ? '开始学习' : '' : '',
closeOnClickOverlay: true
cancelButtonText:
this.detailList.self_fill_in.need_fill_in_status === false ? (canJump ? '开始学习' : '') : '',
closeOnClickOverlay: true,
beforeClose: (action, done) => {
if (action === 'overlay') {
window.location.href = window.location.origin
} else {
done(true)
}
}
})
.then(() => {
this.$router.push({
......@@ -172,7 +180,14 @@ export default {
message: '',
confirmButtonText: '重新报名',
cancelButtonText: canJump ? '开始学习' : '',
closeOnClickOverlay: true
closeOnClickOverlay: true,
beforeClose: (action, done) => {
if (action === 'overlay') {
window.location.href = window.location.origin
} else {
done(true)
}
}
})
.then(() => {
this.$router.push({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论