refactor: 移除调试日志并优化代码结构
移除多个文件中的console.log调试语句 添加search-tag.css和search-tag.less中的set-hint-box样式 新增recommend.js推荐功能模块 优化ajaxGet调用和用户信息处理逻辑
This commit is contained in:
@@ -126,7 +126,6 @@ export const itemHead = defineComponent({
|
||||
};
|
||||
|
||||
const goPersonalHomepage = (token) => {
|
||||
console.log("token", token);
|
||||
if (!token) return;
|
||||
redirectToExternalWebsite(`/u/${token}`);
|
||||
};
|
||||
@@ -150,7 +149,6 @@ export const itemHead = defineComponent({
|
||||
anonymous: state,
|
||||
})
|
||||
.then((res) => {
|
||||
console.log("res", res);
|
||||
if (res.code != 200) return;
|
||||
const data = res.data || {};
|
||||
target.anonymous = data.anonymous || 0;
|
||||
|
||||
Reference in New Issue
Block a user