修改搜索公寓全局变量的指向问题
This commit is contained in:
@@ -77,7 +77,9 @@ let setInitial = () => {
|
||||
|
||||
//获取搜索数据
|
||||
let getDataList = (data, type = true) => {
|
||||
console.log("11414");
|
||||
// console.log(data,type)
|
||||
console.log(type);
|
||||
if (!type) {
|
||||
//是否继续搜索
|
||||
seachSelectData.data.tabType !== "apartment" ? (pageList.value = []) : (listApartment.value = [])
|
||||
@@ -100,6 +102,7 @@ let getDataList = (data, type = true) => {
|
||||
} else {
|
||||
seachApi = api.apartment(postData)
|
||||
}
|
||||
console.log("555");
|
||||
seachApi.then(res => {
|
||||
if (res.code === 200) {
|
||||
// console.log(res.data)
|
||||
|
||||
Reference in New Issue
Block a user