首页的一些修改

This commit is contained in:
夕阳微笑1 2024-12-16 13:41:56 +08:00
parent d0207e5a08
commit 29db490914

View File

@ -50,14 +50,16 @@ const getVersion = computed(() => {
// @ts-ignore // @ts-ignore
if ((Local.get('version') && Local.get('version') !== __NEXT_VERSION__) || !Local.get('version')) isVersion = true; if ((Local.get('version') && Local.get('version') !== __NEXT_VERSION__) || !Local.get('version')) isVersion = true;
} }
return isVersion; // return isVersion;
return false;
}); });
// 广 // 广
const hideSponsors = computed(() => { const hideSponsors = computed(() => {
const path = route.path; const path = route.path;
console.log(path === '/login' || path === '/article/content'); console.log(path === '/login' || path === '/article/content');
return path === '/login' || path === '/article/content'; // return path === '/login' || path === '/article/content';
return true;
}); });
// //
const getGlobalComponentSize = computed(() => { const getGlobalComponentSize = computed(() => {