refactor: 移除调试日志并优化代码结构
- 删除多个组件中的console.log调试语句 - 优化axios错误处理中的可选链操作 - 重构wechat-btn组件的事件监听逻辑 - 清理ai.vue中的冗余代码和注释 - 改进页面可见性变化的处理逻辑
This commit is contained in:
@@ -831,9 +831,7 @@ const cloaseImageShow = (list, index, type) => {
|
||||
imageList.value = list;
|
||||
imageIndex.value = index;
|
||||
imageType = type;
|
||||
}
|
||||
console.log(imageList.value);
|
||||
|
||||
}
|
||||
imageShow.value = !imageShow.value;
|
||||
};
|
||||
|
||||
@@ -1580,10 +1578,7 @@ const getMapDistance = () => {
|
||||
if (element.sid == sid) pitch = element;
|
||||
});
|
||||
|
||||
if (pitch == null) pitch = distance[0];
|
||||
|
||||
console.log("distance",distance);
|
||||
|
||||
if (pitch == null) pitch = distance[0];
|
||||
|
||||
distanceList.value = distance;
|
||||
distancePitch.value = pitch;
|
||||
|
||||
Reference in New Issue
Block a user