首页的一些修改
This commit is contained in:
parent
d0207e5a08
commit
29db490914
@ -50,14 +50,16 @@ const getVersion = computed(() => {
|
||||
// @ts-ignore
|
||||
if ((Local.get('version') && Local.get('version') !== __NEXT_VERSION__) || !Local.get('version')) isVersion = true;
|
||||
}
|
||||
return isVersion;
|
||||
// return isVersion;
|
||||
return false;
|
||||
});
|
||||
// 隐藏广告
|
||||
const hideSponsors = computed(() => {
|
||||
const path = route.path;
|
||||
console.log(path === '/login' || path === '/article/content');
|
||||
|
||||
return path === '/login' || path === '/article/content';
|
||||
// return path === '/login' || path === '/article/content';
|
||||
return true;
|
||||
});
|
||||
// 获取全局组件大小
|
||||
const getGlobalComponentSize = computed(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user