refactor: 移除调试日志并优化代码结构
移除多个文件中的console.log调试语句 添加search-tag.css和search-tag.less中的set-hint-box样式 新增recommend.js推荐功能模块 优化ajaxGet调用和用户信息处理逻辑
This commit is contained in:
@@ -19,7 +19,6 @@ export const headTop = defineComponent({
|
||||
let isPaused = ref(false); // 是否暂停轮播
|
||||
|
||||
onMounted(() => {
|
||||
console.log("getScriptParameter", getScriptParameter("v"));
|
||||
getHistorySearch();
|
||||
// 写一个函数 ,判断本地缓存有没有 wConfig 并判断 是否过一天 如果过了一天 则更新 wConfig
|
||||
checkWConfig();
|
||||
@@ -106,8 +105,6 @@ export const headTop = defineComponent({
|
||||
|
||||
let page = ref(props.page);
|
||||
|
||||
console.log("page", page.value, props.page);
|
||||
|
||||
let input = ref("");
|
||||
|
||||
let historySearchList = ref([]); // 历史搜索数据
|
||||
|
||||
Reference in New Issue
Block a user