fix: 知识库文章详情el-dialog→MyDialog
This commit is contained in:
@@ -38,9 +38,12 @@
|
||||
</div>
|
||||
|
||||
<!-- 详情弹窗 -->
|
||||
<el-dialog v-model="showDetail" :title="detailItem?.title" width="700" top="5vh">
|
||||
<MyDialog v-model="showDetail" :title="detailItem?.title || '文章详情'" :width="700">
|
||||
<div v-if="detailItem" class="detail-content" v-html="detailItem.content"></div>
|
||||
</el-dialog>
|
||||
<template #footer>
|
||||
<el-button @click="showDetail = false">关闭</el-button>
|
||||
</template>
|
||||
</MyDialog>
|
||||
</el-tab-pane>
|
||||
|
||||
<!-- Tab 2: 职业道德自测 -->
|
||||
|
||||
Reference in New Issue
Block a user