refactor: 移除多余的console.log语句以清理代码
清理了多个组件和视图中的console.log语句,以提高代码的可读性和维护性,避免在生产环境中输出不必要的调试信息。
This commit is contained in:
@@ -77,9 +77,6 @@ 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 = [])
|
||||
@@ -102,10 +99,8 @@ let getDataList = (data, type = true) => {
|
||||
} else {
|
||||
seachApi = api.apartment(postData)
|
||||
}
|
||||
// console.log("555");
|
||||
seachApi.then(res => {
|
||||
if (res.code === 200) {
|
||||
// console.log(res.data)
|
||||
dataList.data = res.data.data
|
||||
if (res.data.data.length < 20) {
|
||||
loadingText.value = ` 到底了 `
|
||||
|
||||
Reference in New Issue
Block a user