feat:更新训练场模块
This commit is contained in:
17
src/components/Library/LibraryFileContentDialog.vue
Normal file
17
src/components/Library/LibraryFileContentDialog.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<el-dialog v-model="libraryStore.fileContentDialogVisible"
|
||||
title="查看资料" width="80%"
|
||||
center destroy-on-close
|
||||
class="common-dialog">
|
||||
<MdPreview :modelValue="libraryStore.currentFile.content"/>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useLibraryStore } from '@/stores/library.ts'
|
||||
import { MdPreview } from 'md-editor-v3'
|
||||
import 'md-editor-v3/lib/preview.css'
|
||||
|
||||
const libraryStore = useLibraryStore()
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user