邓洁 : 注释log

This commit is contained in:
邓洁
2023-12-05 10:48:27 +08:00
parent 20f56b5d8d
commit 0612840cdc
27 changed files with 235 additions and 229 deletions

View File

@@ -25,7 +25,7 @@
this.$api.getSuccList().then(res => {
this.shopListLength = res.data.data.length
this.shopInfoList = [...this.shopInfoList, ...res.data.data]
console.log(this.shopInfoList);
// console.log(this.shopInfoList);
})
}
}

View File

@@ -67,7 +67,7 @@
this.keyword = ''
this.pageNum++
this.getShopList()
console.log("触底加载");
// console.log("触底加载");
} else if (this.shopListLength == 0) {
this.pageNum = 1
}
@@ -77,7 +77,7 @@
},
methods: {
getInput(val) {
console.log('搜索值', val);
// console.log('搜索值', val);
if (this.pageNum !== 1) {
this.pageNum = 1
}
@@ -104,12 +104,12 @@
} else {
query = this.getQueryInfo(q)
}
console.log("listquery", query);
// console.log("listquery", query);
this.$api.getShopList(query).then(res => {
this.shopListLength = res.data.data.length
if (query.includes('business') || query.includes('areatype') || query.includes('sortType') || query
.includes('region') || this.refresh) {
console.log('筛选');
// console.log('筛选');
// this.resetQuery(q)
this.shopInfoList = res.data.data
this.refresh = false
@@ -119,15 +119,15 @@
this.showNull = false
}
} else {
console.log('查询');
// console.log('查询');
this.shopInfoList = [...this.shopInfoList, ...res.data.data]
}
uni.stopPullDownRefresh()
console.log(this.shopInfoList);
// console.log(this.shopInfoList);
})
},
getQueryInfo(query) {
console.log("getQueryInfo", query);
// console.log("getQueryInfo", query);
const q = this.$u.queryParams({
type: 3,
pageSize: this.pageSize,

View File

@@ -67,7 +67,7 @@
this.keyword = ''
this.pageNum++
this.getShopList()
console.log("触底加载");
// console.log("触底加载");
} else if (this.searchListLength == 0) {
this.pageNum = 1
}
@@ -77,7 +77,7 @@
},
methods: {
getInput(val) {
console.log('搜索值', val);
// console.log('搜索值', val);
if (this.pageNum !== 1) {
this.pageNum = 1
}
@@ -104,7 +104,7 @@
} else {
query = this.getQueryInfo(q)
}
console.log("listquery", query);
// console.log("listquery", query);
this.$api.getShopList(query).then(res => {
this.shopListLength = res.data.data.length
if (query.includes('business') || query.includes('areatype') || query.includes('sortType') || query
@@ -123,11 +123,11 @@
this.shopInfoList = [...this.shopInfoList, ...res.data.data]
}
uni.stopPullDownRefresh()
console.log(this.shopInfoList);
// console.log(this.shopInfoList);
})
},
getQueryInfo(query) {
console.log("getQueryInfo", query);
// console.log("getQueryInfo", query);
const q = this.$u.queryParams({
type: 4,
pageSize: this.pageSize,

View File

@@ -76,7 +76,7 @@
},
methods: {
getInput(val) {
console.log('搜索值', val);
// console.log('搜索值', val);
if (this.pageNum !== 1) {
this.pageNum = 1
}
@@ -103,7 +103,7 @@
} else {
query = this.getQueryInfo(q)
}
console.log("listquery", query);
// console.log("listquery", query);
this.$api.getShopList(query).then(res => {
this.searchListLength = res.data.data.length
if (query.includes('business') || query.includes('areatype') || query.includes('sortType') || query
@@ -122,11 +122,11 @@
this.searchInfoList = [...this.searchInfoList, ...res.data.data]
}
uni.stopPullDownRefresh()
console.log(this.searchInfoList);
// console.log(this.searchInfoList);
})
},
getQueryInfo(query) {
console.log("getQueryInfo", query);
// console.log("getQueryInfo", query);
const q = this.$u.queryParams({
type: 2,
pageSize: this.pageSize,

View File

@@ -76,7 +76,7 @@
},
methods: {
getInput(val) {
console.log('搜索值', val);
// console.log('搜索值', val);
if (this.pageNum !== 1) {
this.pageNum = 1
}
@@ -103,7 +103,7 @@
} else {
query = this.getQueryInfo(q)
}
console.log("listquery", query);
// console.log("listquery", query);
this.$api.getShopList(query).then(res => {
this.shopListLength = res.data.data.length
if (query.includes('business') || query.includes('areatype') || query.includes('sortType') || query
@@ -121,12 +121,12 @@
console.log('查询');
this.shopInfoList = [...this.shopInfoList, ...res.data.data]
}
console.log(this.shopInfoList);
// console.log(this.shopInfoList);
uni.stopPullDownRefresh()
})
},
getQueryInfo(query) {
console.log("getQueryInfo", query);
// console.log("getQueryInfo", query);
const q = this.$u.queryParams({
type: 1,
pageSize: this.pageSize,