diff --git a/src/layout/adder/AdderPage.tsx b/src/layout/adder/AdderPage.tsx index 4e22815..e2b3302 100644 --- a/src/layout/adder/AdderPage.tsx +++ b/src/layout/adder/AdderPage.tsx @@ -81,6 +81,7 @@ export default defineComponent(() => { const isGame = computed(() => layout.state.current === 0) const store = useAdderPageStore() const addTo = ref(layout.state.currentPage) + provide(AddToToken, addTo) onUnmounted(() => { store.type = 1 @@ -145,7 +146,27 @@ export default defineComponent(() => { />