图片查看更新

This commit is contained in:
2023-07-27 14:21:48 +08:00
parent ad303096ca
commit 25561ff12d
9 changed files with 94 additions and 67 deletions

View File

@@ -182,10 +182,11 @@ let watchInfo = () => {
onMounted(() => {
imgRef = getCurrentInstance()
let {type}=router.currentRoute.value.query
console.log(data.data)
if(type){
pageType.value=type
}else{
pageType.value=routePath.value==='/personHousing'?1:routePath.value==='/intermediaryHousing'?2:routePath.value==='/needHousing'?3:routePath.value==='/seachPage'?4:''
pageType.value=data.data.intermediary===1?2:data.data.intermediary===6?3:1
}
})