refactor: 移除多余的console.log语句以清理代码

清理了多个组件和视图中的console.log语句,以提高代码的可读性和维护性,避免在生产环境中输出不必要的调试信息。
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-04-10 18:56:24 +08:00
parent a320cb9d97
commit 1ea3894be8
20 changed files with 6 additions and 39 deletions

View File

@@ -211,7 +211,6 @@ let setLocation = (type, data, isupdate = true) => {
//设置搜索数据 type: 类型 data: 数据 second: 二级数据
let setSeachConditions = (type, data, second = null) => {
console.log("赋值前的数据:", seachAllType)
if (type === "rent") {
seachAllType["rent_min"] = data.min
seachAllType["rent_max"] = data.max
@@ -229,12 +228,8 @@ let setSeachConditions = (type, data, second = null) => {
if (type === "school") seachAllType.location = []
if (type === "location") seachAllType.school = ""
if (second) {
seachAllType[second.type] = second.id
}
console.log(type, data, second)
console.log("保存前的处理数据:", seachAllType)
if (second) seachAllType[second.type] = second.id
getDataList(seachAllType)
}