finally fix?
This commit is contained in:
parent
4a56753869
commit
e7b914bea3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "calckey",
|
||||
"version": "12.119.0-calc.16.7",
|
||||
"version": "12.119.0-calc.16.8",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -100,8 +100,6 @@ const path = $computed(() => props.username + '/' + props.pageName);
|
||||
|
||||
let bgImg = $ref('linear-gradient(to bottom right, #31748f, #9ccfd8)');
|
||||
|
||||
if (page.eyeCatchingImage.url != null) { bgImg = `url(${page.eyeCatchingImage.url})`; }
|
||||
|
||||
function fetchPage() {
|
||||
page = null;
|
||||
os.api('pages/show', {
|
||||
@ -163,6 +161,8 @@ const headerActions = $computed(() => []);
|
||||
|
||||
const headerTabs = $computed(() => []);
|
||||
|
||||
if (page.eyeCatchingImage.url != null) { bgImg = `url(${page.eyeCatchingImage.url})`; }
|
||||
|
||||
definePageMetadata(computed(() => page ? {
|
||||
title: computed(() => page.title || page.name),
|
||||
avatar: page.user,
|
||||
|
Loading…
Reference in New Issue
Block a user