mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 03:10:11 +08:00
feat: use dynamic route to select quest (no error handling yet)
This commit is contained in:
1 parent
cce6127d51
commit
f973982ec4
3 files changed
+13
-19
No files matched your search
@@ -14,8 +14,15 @@ const completed = computed(() => {
|
||||
return sessionStore.session.status === 'finished'
|
||||
})
|
||||
|
||||
const props = defineProps({
|
||||
questId: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
|
||||
onMounted(async () => {
|
||||
await init('helloworld')
|
||||
await init(props.questId)
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user