mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 17:55:39 +08:00
fix bug
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import http from "./config";
|
||||
import {getCookieForName} from "@/api/method";
|
||||
// import qs from 'qs';
|
||||
|
||||
/**
|
||||
@@ -42,13 +43,13 @@ export const createEvaluation = (obj) =>
|
||||
//上传组件
|
||||
export const fileUp = (data) =>
|
||||
http.post("/file/upload", data, {
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
headers: { "Content-Type": "multipart/form-data",token:getCookieForName("token") },
|
||||
});
|
||||
|
||||
//上传文件
|
||||
export const baseVoteupload = (data) =>
|
||||
http.post("/vote/baseVoteupload", data, {
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
headers: { "Content-Type": "multipart/form-data",token:getCookieForName("token") },
|
||||
});
|
||||
|
||||
//删除测评信息
|
||||
|
||||
Reference in New Issue
Block a user