fix :bug
This commit is contained in:
@@ -104,7 +104,7 @@ onMounted(async ()=>{
|
|||||||
permission.gotoAppPermissionSetting()
|
permission.gotoAppPermissionSetting()
|
||||||
}else{
|
}else{
|
||||||
// 取消
|
// 取消
|
||||||
common.redirectTo('/pages/index/index')
|
common.navigateBack()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -117,7 +117,7 @@ onMounted(async ()=>{
|
|||||||
permission.gotoAppPermissionSetting()
|
permission.gotoAppPermissionSetting()
|
||||||
}else{
|
}else{
|
||||||
// 取消
|
// 取消
|
||||||
common.redirectTo('/pages/index/index')
|
common.navigateBack()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -586,6 +586,7 @@ const showTalkingModel = ref(false)
|
|||||||
// })
|
// })
|
||||||
onHide(()=>{
|
onHide(()=>{
|
||||||
if(watchFlag.value === 1) return
|
if(watchFlag.value === 1) return
|
||||||
|
changePlayItemId('')
|
||||||
socketStore.closeSocket()
|
socketStore.closeSocket()
|
||||||
common.show('提示信息', '检测到您已离开,即将退出学习页面。',false, '','确认').then((res) => {
|
common.show('提示信息', '检测到您已离开,即将退出学习页面。',false, '','确认').then((res) => {
|
||||||
common.redirectTo(`/pages/courseDetail/index?crsId=${crsId.value}&crsNum=${crsNum.value}&from=study`)
|
common.redirectTo(`/pages/courseDetail/index?crsId=${crsId.value}&crsNum=${crsNum.value}&from=study`)
|
||||||
|
|||||||
Reference in New Issue
Block a user