Skip to content

Commit

Permalink
fix: 修复主页公告弹窗MD显示 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinLiang66 authored Oct 11, 2024
1 parent 6fde089 commit 40bfcd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/system/notice/NoticeDetailModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</a-typography-paragraph>
</a-typography>
<a-divider />
<MdPreview :editor-id="dataDetail?.id" :model-value="dataDetail?.content" />
<AiEditor :model-value="dataDetail?.content" />
<a-divider />
<div v-if="dataDetail?.updateTime" class="update-time-row">
<span>
Expand All @@ -36,8 +36,8 @@
</template>

<script setup lang="ts">
import { MdPreview } from 'md-editor-v3'
import { useWindowSize } from '@vueuse/core'
import AiEditor from './components/detail/index.vue'
import { type NoticeResp, getNotice } from '@/apis/system'
const { width } = useWindowSize()
Expand Down

0 comments on commit 40bfcd5

Please sign in to comment.