feat:增加docker部署

This commit is contained in:
2026-07-29 22:38:46 +08:00
parent 4d49660b18
commit 78237984ec
13 changed files with 86 additions and 11 deletions

View File

@@ -42,9 +42,12 @@ export const useLibraryStore = defineStore('library', {
this.fileList = await queryLibraryFileListApi()
this.subjectTree = getSubjectTree(this.fileList)
this.subjectOptions = getSubjectOptions(this.subjectTree)
this.selectedSubject = this.subjectOptions[0].value
this.moduleOptions = getModuleOptions(this.subjectTree, this.selectedSubject)
this.selectedModule = this.moduleOptions[0].value
if (this.subjectOptions.length > 0) {
this.selectedSubject = this.subjectOptions[0].value
this.moduleOptions = getModuleOptions(this.subjectTree, this.selectedSubject)
this.selectedModule = this.moduleOptions[0].value
}
},
async queryFileById(id: number) {
this.currentFile = await queryLibraryFileByIdApi(id)