Commit 1b876c3b authored by Damon's avatar Damon

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

parent 6e96c69f
...@@ -488,7 +488,7 @@ export default { ...@@ -488,7 +488,7 @@ export default {
uni.hideLoading() uni.hideLoading()
if (res) { // 交卷 if (res) { // 交卷
this.$u.route({ this.$u.route({
type: 'redirect', type: 'reLaunch',
url: '/pages/learn/score', url: '/pages/learn/score',
params: { params: {
id: this.recordId id: this.recordId
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
titleColor="#191C27" titleColor="#191C27"
:border-bottom="false" :border-bottom="false"
title-bold title-bold
:custom-back="customBack"
></u-navbar> ></u-navbar>
<view <view
class="top-view" class="top-view"
...@@ -194,7 +195,6 @@ export default { ...@@ -194,7 +195,6 @@ export default {
}) })
}, },
handleClickRecord() { handleClickRecord() {
console.log("11", 11)
this.$u.route({ this.$u.route({
url: 'pages/learn/answer', url: 'pages/learn/answer',
params: { params: {
...@@ -208,6 +208,13 @@ export default { ...@@ -208,6 +208,13 @@ export default {
this.show = false this.show = false
}, 2500) }, 2500)
}, },
customBack() {
console.log("111", 111)
this.$u.route({
type: 'tab',
url: 'pages/index/index'
})
}
}, },
} }
</script> </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