feat:更新资料库模块
This commit is contained in:
@@ -13,12 +13,15 @@
|
||||
<library-file-dialog />
|
||||
|
||||
<library-file-content-dialog />
|
||||
|
||||
<library-file-train-dialog />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import LibraryFileList from '@/components/Library/LibraryFileList.vue'
|
||||
import LibraryFileDialog from '@/components/Library/LibraryFileDialog.vue'
|
||||
import LibraryFileTrainDialog from '@/components/Library/LibraryFileTrainDialog.vue'
|
||||
import LibraryFileContentDialog from '@/components/Library/LibraryFileContentDialog.vue'
|
||||
import { useLibraryStore } from '@/stores/library.ts'
|
||||
import { Plus } from '@element-plus/icons-vue'
|
||||
@@ -34,8 +37,6 @@ const addFileClick = () => {
|
||||
libraryStore.currentFile = libraryStore.getEmptyFile()
|
||||
libraryStore.fileApiType = 'ADD'
|
||||
libraryStore.activeStep = 1
|
||||
libraryStore.hasGenerateQuestion = false
|
||||
libraryStore.questionContent = ''
|
||||
libraryStore.fileDialogVisible = true
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user