web-资源修改
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
<!-- 封面图片 -->
|
||||
<div v-if="articleData.coverImage" class="article-cover">
|
||||
<img :src="articleData.coverImage" class="cover-image" />
|
||||
<img :src="FILE_DOWNLOAD_URL + articleData.coverImage" class="cover-image" />
|
||||
</div>
|
||||
|
||||
<!-- 文章内容 -->
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
<!-- 封面图片 -->
|
||||
<div v-if="articleData.coverImage" class="article-cover">
|
||||
<img :src="articleData.coverImage" class="cover-image" />
|
||||
<img :src="FILE_DOWNLOAD_URL + articleData.coverImage" class="cover-image" />
|
||||
</div>
|
||||
|
||||
<!-- 文章内容 -->
|
||||
@@ -77,6 +77,8 @@
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import { ElDialog, ElButton } from 'element-plus';
|
||||
import { FILE_DOWNLOAD_URL } from '@/config';
|
||||
import { ResourceCategory } from '@/types/resource';
|
||||
|
||||
interface ArticleData {
|
||||
title?: string;
|
||||
@@ -94,7 +96,7 @@ interface Props {
|
||||
title?: string; // Dialog 标题
|
||||
width?: string; // Dialog 宽度
|
||||
articleData?: ArticleData; // 文章数据
|
||||
categoryList?: Array<{ id?: string; categoryID?: string; name?: string }>; // 分类列表
|
||||
categoryList?: Array<ResourceCategory>; // 分类列表
|
||||
showEditButton?: boolean; // 是否显示编辑按钮
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user