From eca9601a89d373d1fc6a35f8bda890f46a9c43b7 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 4 Aug 2025 17:32:48 +0800 Subject: [PATCH] :bug: Fix prefetch change data properties case --- DysonNetwork.Pass/Client/src/views/pfp/index.vue | 2 +- DysonNetwork.Sphere/Client/src/views/posts.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DysonNetwork.Pass/Client/src/views/pfp/index.vue b/DysonNetwork.Pass/Client/src/views/pfp/index.vue index 6441139..51d4583 100644 --- a/DysonNetwork.Pass/Client/src/views/pfp/index.vue +++ b/DysonNetwork.Pass/Client/src/views/pfp/index.vue @@ -180,7 +180,7 @@ const user = ref(null) async function fetchUser() { if (window.DyPrefetch?.Account != null) { console.log('[Fetch] Use the pre-rendered account data.') - user.value = window.DyPrefetch.Account + user.value = window.DyPrefetch.account return } diff --git a/DysonNetwork.Sphere/Client/src/views/posts.vue b/DysonNetwork.Sphere/Client/src/views/posts.vue index 05c29fd..0f81488 100644 --- a/DysonNetwork.Sphere/Client/src/views/posts.vue +++ b/DysonNetwork.Sphere/Client/src/views/posts.vue @@ -63,7 +63,7 @@ const notFound = ref(false) async function fetchPost() { if (window.DyPrefetch?.Post != null) { console.log('[Fetch] Use the pre-rendered post data.') - post.value = window.DyPrefetch.Post + post.value = window.DyPrefetch.post return }