fix: bug
This commit is contained in:
@@ -719,7 +719,7 @@ onHide(() => {
|
||||
//#ifdef APP-PLUS
|
||||
uni.offKeyboardHeightChange(setHeight)
|
||||
// #endif
|
||||
if (watchFlag.value === 1) return
|
||||
// if (watchFlag.value === 1) return
|
||||
changePlayItemId('')
|
||||
socketStore.closeSocket()
|
||||
// common.show('提示信息', '检测到您已离开,即将退出学习页面。',false, '','确认').then((res) => {
|
||||
@@ -739,6 +739,7 @@ onUnload(() => {
|
||||
changePlayItemId()
|
||||
teacherVoiceObj?.stop?.()
|
||||
teacherVoiceObj.src = ''
|
||||
socketStore.closeSocket()
|
||||
})
|
||||
const testAnswer = computed(() => {
|
||||
if (talkingList.value.length < 5) return true
|
||||
|
||||
@@ -200,7 +200,9 @@
|
||||
|
||||
|
||||
const createNewDialog = () => {
|
||||
common.msg('已经是最新对话')
|
||||
if(talkingList.value.length === 0){
|
||||
common.msg('已经是最新对话')
|
||||
}
|
||||
common.redirectTo(`/pages/index/dialog`)
|
||||
}
|
||||
const showModelComfirm = ref(false)
|
||||
|
||||
Reference in New Issue
Block a user