Commit a7a9e9a4 authored by Damon's avatar Damon

fix: 【ID1001315】【小程序-首页-每日一练已完成弹窗】:体验权使用完弹窗中,点击去首页后,跳转到了学练记录页。

parent 355096cf
...@@ -523,10 +523,17 @@ export default { ...@@ -523,10 +523,17 @@ export default {
}, },
// 每日一练弹框取消 // 每日一练弹框取消
dailyCancel() { dailyCancel() {
this.$u.route({ if (this.experience) {
type: 'redirect', this.$u.route({
url: '/pages/learn/record', type: 'tab',
}) url: '/pages/index/index',
})
} else {
this.$u.route({
type: 'redirect',
url: '/pages/learn/record',
})
}
}, },
// 收藏 // 收藏
collection() { collection() {
......
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