更新:增加“课程首页”功能
This commit is contained in:
@@ -317,16 +317,6 @@ function goToDetail(id: number) {
|
||||
url: `/pages/book/detail?id=${id}`
|
||||
})
|
||||
}
|
||||
|
||||
function handleBack() {
|
||||
if (pageFrom.value === 'order') {
|
||||
uni.switchTab({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
} else {
|
||||
uni.navigateBack({ delta: 1 })
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user