diff --git a/package.json b/package.json index 6fd9fa5673..391b064563 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.16.6", + "version": "12.119.0-calc.16.7", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/page.vue b/packages/client/src/pages/page.vue index c08ac5d8f9..9991d62e40 100644 --- a/packages/client/src/pages/page.vue +++ b/packages/client/src/pages/page.vue @@ -98,7 +98,9 @@ const otherPostsPagination = { }; const path = $computed(() => props.username + '/' + props.pageName); -const bgImg = page.eyeCatchingImage.url !== null ? page.eyeCatchingImage.url : 'linear-gradient(to bottom right, #31748f, #9ccfd8)'; +let bgImg = $ref('linear-gradient(to bottom right, #31748f, #9ccfd8)'); + +if (page.eyeCatchingImage.url != null) { bgImg = `url(${page.eyeCatchingImage.url})`; } function fetchPage() { page = null;