mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-09 05:29:51 +08:00
fix(webui): destructure non-reactive steps from setup store directly
`steps` is a plain array in the store, not a ref. Using `storeToRefs` returned undefined, causing "Cannot read properties of undefined (reading 'length')" at runtime. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -4,7 +4,8 @@ definePage({
|
||||
});
|
||||
|
||||
const setupStore = useSetupStore();
|
||||
const { currentStep, currentStepIndex, steps } = storeToRefs(setupStore);
|
||||
const { currentStep, currentStepIndex } = storeToRefs(setupStore);
|
||||
const { steps } = setupStore;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user