中介详情显示房源
This commit is contained in:
@@ -173,19 +173,13 @@ let watchInfo = () => {
|
||||
path: '/detail',
|
||||
query: {
|
||||
id: data.data.uniqid,
|
||||
type:pageType.value
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
imgRef = getCurrentInstance()
|
||||
let {type}=router.currentRoute.value.query
|
||||
if(type){
|
||||
pageType.value=type
|
||||
}else{
|
||||
pageType.value=data.data.intermediary===1?2:data.data.intermediary===6?3:1
|
||||
}
|
||||
pageType.value=data.data.intermediary===1?2:data.data.intermediary===6?3:1
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user