整体平台上传功能大改造
This commit is contained in:
@@ -151,7 +151,7 @@ const currentBanner = ref<Partial<Banner>>({
|
||||
// 上传配置
|
||||
// @ts-ignore
|
||||
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL;
|
||||
const uploadUrl = ref(API_BASE_URL + "/admin/uploadfiles");
|
||||
const uploadUrl = ref(API_BASE_URL + "/backend/uploadfile");
|
||||
const uploadHeaders = ref({
|
||||
Authorization: "Bearer " + (localStorage.getItem("token") || ""),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user