add catalog

This commit is contained in:
2026-07-26 03:02:05 +07:00
parent 4663493c66
commit 6d5766092b
14 changed files with 338 additions and 5 deletions
+2 -1
View File
@@ -29,13 +29,14 @@ const scenario = ref<Scenario>({
name: undefined,
story: undefined,
author: undefined,
status: undefined,
updatedAt: undefined,
createdAt: undefined,
publishedAt: undefined,
})
async function getScenario(id: number) {
const res = await client.GetScenario({ id: id })
const res = await client.GetFullScenario({ id: id })
if (res.error != '') {
message.error(res.error!)
return