部分优化

This commit is contained in:
X1627315083
2025-09-08 14:50:59 +08:00
parent 4dc5e26d92
commit 360bfd01ac
51 changed files with 854 additions and 354 deletions

View File

@@ -73,9 +73,9 @@ export default defineComponent({
accountFollofFans.getListData.isShowMark = false
if(rv.length == 0) {
accountFollofFans.getListData.isNoData = true
return
}else{
accountFollofFans.dataList.push(...rv)
}
accountFollofFans.dataList = rv
}
}).catch(() => {
accountFollofFans.getListData.isShowMark = false
@@ -96,13 +96,13 @@ export default defineComponent({
})
}
let openOtherUsers = (item:any)=>{
const routeUrl = router.resolve({
path:'/home/otherUsers',
query:{
userId:item.senderId
}
})
window.open(routeUrl.href,'_blank')
// const routeUrl = router.resolve({
// path:'/home/otherUsers',
// query:{
// userId:item.senderId
// }
// })
// window.open(routeUrl.href,'_blank')
}
onMounted (()=>{
accountFollofFans.getListData.isNoData = false

View File

@@ -69,6 +69,7 @@ export default defineComponent({
})
let loadingDom:any = ref(null)
let searchFollowFansList = ()=>{
accountFollofFans.dataList = []
accountFollofFans.getListData.page = 1
getFollowFansList()
}
@@ -80,9 +81,9 @@ export default defineComponent({
accountFollofFans.getListData.isShowMark = false
if(rv.length == 0) {
accountFollofFans.getListData.isNoData = true
return
}else{
accountFollofFans.dataList.push(...rv)
}
accountFollofFans.dataList = rv
}
}).catch(() => {
accountFollofFans.getListData.isShowMark = false
@@ -104,13 +105,13 @@ export default defineComponent({
})
}
let openOtherUsers = (item:any)=>{
const routeUrl = router.resolve({
path:'/home/otherUsers',
query:{
userId:item.senderId
}
})
window.open(routeUrl.href,'_blank')
// const routeUrl = router.resolve({
// path:'/home/otherUsers',
// query:{
// userId:item.senderId
// }
// })
// window.open(routeUrl.href,'_blank')
}
onMounted (()=>{
accountFollofFans.getListData.isNoData = false