fix 文章发布上传文件地址错误

This commit is contained in:
不做码农
2022-01-14 20:31:24 +08:00
parent 4fefb4282d
commit a855a0db6b
2 changed files with 2 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ import request from '@/utils/request'
export function upload(data) {
return request({
url: '/upload/saveFile',
url: '/common/UploadFile',
method: 'POST',
data: data,
headers: { "Content-Type": "multipart/form-data" },