修改课程记录和考试记录,刷新后,已经打开的记录列表的图标不复原的问题

This commit is contained in:
田岩
2025-09-22 15:49:16 +08:00
parent ab353ad042
commit eea33dd604
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# h5专用地址x2 # h5专用地址x2
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786'
# VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605' # VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605'
+1 -2
View File
@@ -219,8 +219,7 @@
innerAudio.setAudioSrc(res.tempFilePath); innerAudio.setAudioSrc(res.tempFilePath);
}); });
} else if (newVal === undefined) { } else if (newVal === undefined) {
innerAudio.stopAudio();
// innerAudio.stopAudio();
} else { } else {
voiceTime.value = ''; voiceTime.value = '';
innerAudio.setAudioSrc(newVal); innerAudio.setAudioSrc(newVal);
@@ -29,9 +29,12 @@
} }
}); });
}; };
//
const refresherTouchend = () => { const refresherTouchend = () => {
clearAll(); clearAll();
}; };
const props = defineProps<{ const props = defineProps<{
tabIndex: number; tabIndex: number;
currentIndex: number; currentIndex: number;
+1
View File
@@ -98,6 +98,7 @@ export function useItemList(fetchFunction, item) {
const clear = () => { const clear = () => {
total.value = -1 total.value = -1
data_list.length = 0 data_list.length = 0
show_list_state.value = false
} }
return { return {
status, status,