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

bug fixes

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