update document detail page

This commit is contained in:
AceDataCloud committed 2023-01-22 16:36:46 +08:00
1 parent 798de13a35
commit 1bc2068e7b
7 files changed
+71 -9

No files matched your search

+11 -1
View File
@@ -1,5 +1,10 @@
<template>
<vue-markdown :source="content" class="markdown-body" />
<div v-if="loading">
<el-skeleton />
<el-divider />
<el-skeleton />
</div>
<vue-markdown v-else :source="content" class="markdown-body" />
</template>
<script lang="ts">
@@ -15,6 +20,11 @@ export default defineComponent({
content: {
type: String,
required: true
},
loading: {
type: Boolean,
required: false,
default: false
}
},
data() {},