mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
feat: 新增接口提示
This commit is contained in:
parent
62518268a6
commit
22293bfed0
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user