更换logo,修改作品墙管理图片映射,推荐管理添加排序项
This commit is contained in:
parent
c98b04a85b
commit
4a69c4bcfe
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 19 KiB |
@ -35,6 +35,7 @@ const getArticleDetailById = async(id:number) => {
|
||||
let res = await artApi.getArticleDetail(id);
|
||||
if(res?.success) {
|
||||
state.data = res.data;
|
||||
if(res.data.title) document.title = res.data.title;
|
||||
}
|
||||
} catch (error) {
|
||||
ElMessage.error('获取文章详情失败');
|
||||
|
@ -44,6 +44,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="serviceName" align="center" label="作品类型" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column prop="number" align="center" label="排序" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column prop="createtime" align="center" label="时间" :formatter="dateFormatter" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="操作" width="200" align="center">
|
||||
<template #default="scope">
|
||||
|
@ -255,7 +255,7 @@ const state = reactive({
|
||||
});
|
||||
|
||||
// 图片基本路径
|
||||
const viteUrl = import.meta.env.DEV ? 'http://8.138.171.103/pixel/' : import.meta.env.VITE_API_URL;
|
||||
const viteUrl = import.meta.env.DEV ? 'http://8.138.171.103/pixel/' : (import.meta.env.VITE_API_URL+'pixel/');
|
||||
|
||||
// 引入 api 请求接口
|
||||
const photoApi = photosApi();
|
||||
|
Loading…
Reference in New Issue
Block a user