Fix computed ref passed without .value to setCurrentGraphId

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 17:10:09 +08:00
parent 01385d798d
commit 008339a23d
2 changed files with 2 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ const numberBeforeMapInRoute = computed(() => {
}); });
onBeforeMount(() => { onBeforeMount(() => {
setCurrentGraphId(numberBeforeMapInRoute); setCurrentGraphId(numberBeforeMapInRoute.value);
}); });
// Data // Data

View File

@@ -214,7 +214,7 @@ const numberBeforeMapInRoute = computed(() => {
}); });
onBeforeMount(() => { onBeforeMount(() => {
setCurrentGraphId(numberBeforeMapInRoute); setCurrentGraphId(numberBeforeMapInRoute.value);
}); });
// Data // Data