fix: 主页不再请求历史列表

This commit is contained in:
zhangyh
2025-09-29 14:08:08 +08:00
parent 6fcc643255
commit 8941547d53

View File

@@ -555,14 +555,14 @@ export default defineComponent({
}) })
} }
getUnreadCount() getUnreadCount()
nextTick(()=>{ // nextTick(()=>{
setPorfolioDom() // setPorfolioDom()
}) // })
})
onBeforeUnmount(()=>{
let imgParent = document.querySelector('.homeMain_max .detail .material_content_list_loding .historyPage_loading')
if(Observer?.unobserve)Observer.unobserve(imgParent);
}) })
// onBeforeUnmount(()=>{
// let imgParent = document.querySelector('.homeMain_max .detail .material_content_list_loding .historyPage_loading')
// if(Observer?.unobserve)Observer.unobserve(imgParent);
// })
const setOpenType = (item) => { const setOpenType = (item) => {
const { value, list } = item const { value, list } = item
if (!list?.length) { if (!list?.length) {