mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-10-26 06:57:10 +08:00
fix: 修复主页公告弹窗MD显示 (#29)
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
</a-typography-paragraph>
|
</a-typography-paragraph>
|
||||||
</a-typography>
|
</a-typography>
|
||||||
<a-divider />
|
<a-divider />
|
||||||
<MdPreview :editor-id="dataDetail?.id" :model-value="dataDetail?.content" />
|
<AiEditor :model-value="dataDetail?.content" />
|
||||||
<a-divider />
|
<a-divider />
|
||||||
<div v-if="dataDetail?.updateTime" class="update-time-row">
|
<div v-if="dataDetail?.updateTime" class="update-time-row">
|
||||||
<span>
|
<span>
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { MdPreview } from 'md-editor-v3'
|
|
||||||
import { useWindowSize } from '@vueuse/core'
|
import { useWindowSize } from '@vueuse/core'
|
||||||
|
import AiEditor from './components/detail/index.vue'
|
||||||
import { type NoticeResp, getNotice } from '@/apis/system'
|
import { type NoticeResp, getNotice } from '@/apis/system'
|
||||||
|
|
||||||
const { width } = useWindowSize()
|
const { width } = useWindowSize()
|
||||||
|
|||||||
Reference in New Issue
Block a user