完成serviceimg管理
This commit is contained in:
@@ -90,7 +90,6 @@ const fetchCoverImage = async () => {
|
||||
const response = await axios.post('http://localhost:8080/api/page-image/get', { page: 'SocialService' });
|
||||
if (response.data.message === '查询成功' && Array.isArray(response.data.images) && response.data.images.length) {
|
||||
formData.pageImageUrl = response.data.images[0].image_url;
|
||||
ElMessage.success('已加载现有封面图');
|
||||
} else {
|
||||
ElMessage.info('暂无已保存的封面图,可上传新图片');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user