更新首页列表

This commit is contained in:
2023-11-01 19:03:01 +08:00
parent 9cf73331ea
commit 710f4b5eb9
35 changed files with 261 additions and 241 deletions

View File

@@ -10,7 +10,7 @@ const router = useRouter()
const learnStore = useLearnStore()
const Mds = Array.from({ length: learnStore.total }, (_, i) => i + 1).map((v) =>
defineAsyncComponent(() => import(`./step-${v}/index.md`))
defineAsyncComponent(() => import(`./step-${v}/index.md`)),
)
watch(
@@ -24,7 +24,7 @@ watch(
router.replace("/learn/step-1")
}
},
{ immediate: true }
{ immediate: true },
)
</script>