图片查看更新
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user