feat:增加docker部署
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user