feat: 新增接口提示

This commit is contained in:
奔跑的面条 2025-03-10 09:57:47 +08:00
parent 62518268a6
commit 22293bfed0

View File

@ -180,7 +180,7 @@ const globalTabList = [
title: 'VChart主题',
icon: ColorPaletteIcon,
render: VChartThemeColor
},
}
]
const previewTypeList = [
@ -285,6 +285,7 @@ const customRequest = (options: UploadCustomRequestOptions) => {
})
let uploadParams = new FormData()
uploadParams.append('object', newNameFile)
window['$message'].warn('该上传接口与项目预览图为同一个,请自行在后端新增一个上传背景图接口')
const uploadRes = await uploadFile(uploadParams)
if (uploadRes && uploadRes.code === ResultEnum.SUCCESS) {