部分优化
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user