Commit 1b876c3b authored by Damon's avatar Damon

refactor: 考试成绩页返回逻辑修改

parent 6e96c69f
......@@ -488,7 +488,7 @@ export default {
uni.hideLoading()
if (res) { // 交卷
this.$u.route({
type: 'redirect',
type: 'reLaunch',
url: '/pages/learn/score',
params: {
id: this.recordId
......
......@@ -7,6 +7,7 @@
titleColor="#191C27"
:border-bottom="false"
title-bold
:custom-back="customBack"
></u-navbar>
<view
class="top-view"
......@@ -194,7 +195,6 @@ export default {
})
},
handleClickRecord() {
console.log("11", 11)
this.$u.route({
url: 'pages/learn/answer',
params: {
......@@ -208,6 +208,13 @@ export default {
this.show = false
}, 2500)
},
customBack() {
console.log("111", 111)
this.$u.route({
type: 'tab',
url: 'pages/index/index'
})
}
},
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment