From 24adb4d996305b4189dc81e651f87350bb0216b5 Mon Sep 17 00:00:00 2001 From: plightfield <1207120484@qq.com> Date: Thu, 10 Oct 2024 16:10:42 +0800 Subject: [PATCH] change --- src/layout/background/BackgroundPage.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/layout/background/BackgroundPage.tsx b/src/layout/background/BackgroundPage.tsx index edb4cb3..b5e63ce 100644 --- a/src/layout/background/BackgroundPage.tsx +++ b/src/layout/background/BackgroundPage.tsx @@ -21,6 +21,7 @@ export default defineComponent(() => { }, { immediate: true } ) + watch(() => layout.state.content[selected.value].background, console.log, { immediate: true }) const resource = useResource( computed(() => layout.state.content[selected.value].background), 'background' @@ -58,11 +59,13 @@ export default defineComponent(() => { )}