chore: clear lint and sync admin story views

This commit is contained in:
2026-04-18 12:35:37 +08:00
parent bb575a7fe9
commit 9e1a17fa67
16 changed files with 670 additions and 355 deletions

View File

@@ -9,15 +9,19 @@ export interface StorybookPage {
image_url?: string
}
export interface Storybook {
id?: number // 新增
title: string
main_character: string
art_style: string
pages: StorybookPage[]
cover_prompt: string
cover_url?: string
}
export interface Storybook {
id?: number // 新增
title: string
main_character: string
art_style: string
pages: StorybookPage[]
cover_prompt: string
cover_url?: string
generation_status?: string
image_status?: string
audio_status?: string
last_error?: string | null
}
export const useStorybookStore = defineStore('storybook', () => {
const currentStorybook = ref<Storybook | null>(null)