Files
ruoyi-plus-vben5/apps/web-antd/src/views/演示使用自行删除/changelog/index.vue
2025-04-03 17:59:31 +08:00

27 lines
577 B
Vue

<script setup lang="ts">
import { ref } from 'vue';
import { MarkdownPreviewer, Page } from '@vben/common-ui';
import { Spin } from 'ant-design-vue';
import changelog from '../../../../../../CHANGELOG.md?raw';
const content = ref(changelog);
const loading = ref(true);
</script>
<template>
<Page :auto-content-height="true">
<Spin :spinning="loading" tip="加载markdown中...">
<MarkdownPreviewer
v-model:value="content"
height="100%"
class="min-h-[50vh]"
@mounted="loading = false"
/>
</Spin>
</Page>
</template>