图片查看更新
This commit is contained in:
@@ -541,7 +541,7 @@ let setReleaseObj = (item) => {
|
||||
}
|
||||
|
||||
//其他
|
||||
let otherData = reactive([{ title: '认证房源', id: 'isverified' }, { title: '有电梯', id: 'iselevator' }, { title: '有阳台', id: 'issunshinearea' }])
|
||||
let otherData = ref([{ title: '认证房源', id: 'isverified' }, { title: '有电梯', id: 'iselevator' }, { title: '有阳台', id: 'issunshinearea' }])
|
||||
let otherCheck = reactive({ list: [] })
|
||||
|
||||
//设置其他
|
||||
@@ -579,9 +579,11 @@ let routerQuerySet = () => {
|
||||
if (!setRouterQuerySet.value) return
|
||||
//路由参数设置
|
||||
if ((routeQuery.data && routeQuery.data.houseingPageType === '1') || (routePath.value === '/intermediaryHousing')) {
|
||||
otherData = reactive([{ title: '认证中介', id: 'isintermediary' }, { title: '有电梯', id: 'iselevator' }, { title: '有阳台', id: 'issunshinearea' }])
|
||||
} else {
|
||||
otherData = reactive([{ title: '认证房源', id: 'isverified' }, { title: '有电梯', id: 'iselevator' }, { title: '有阳台', id: 'issunshinearea' }])
|
||||
otherData.value = [{ title: '认证中介', id: 'isintermediary' }, { title: '有电梯', id: 'iselevator' }, { title: '有阳台', id: 'issunshinearea' }]
|
||||
} else if((routeQuery.data && routeQuery.data.houseingPageType === '6') || (routePath.value === '/needHousing')){
|
||||
otherData.value = [{ title: '有电梯', id: 'iselevator' }, { title: '有阳台', id: 'issunshinearea' }]
|
||||
}else{
|
||||
otherData.value = [{ title: '认证房源', id: 'isverified' }, { title: '有电梯', id: 'iselevator' }, { title: '有阳台', id: 'issunshinearea' }]
|
||||
}
|
||||
if (Object.keys(routeQuery.data).length > 0) {
|
||||
if (!routeQuery.data || routeQuery.data && !routeQuery.data.data) return
|
||||
@@ -601,7 +603,6 @@ let routerQuerySet = () => {
|
||||
selectTabCheck.title = areaItem.name
|
||||
selectTabCheck.data = list[areaItem.id].data;
|
||||
selectData.data = seachAreaId(data)
|
||||
console.log(selectData.data.length)
|
||||
if (routeQuery.data.types) {
|
||||
let types = JSON.parse(routeQuery.data.types)
|
||||
let {data} = types
|
||||
@@ -631,7 +632,8 @@ watchEffect(() => {
|
||||
})
|
||||
|
||||
defineExpose({
|
||||
cleanSelect
|
||||
cleanSelect,
|
||||
routerQuerySet
|
||||
})
|
||||
</script>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user