lcw
This commit is contained in:
@ -127,7 +127,7 @@ function delFile(index) {
|
||||
}
|
||||
// 文件下载
|
||||
function downloadFile(url) {
|
||||
window.open('/mosty-base/minio/image/download/'+url, "_blank");
|
||||
window.open('/bagl/mosty-base/minio/image/download/'+url, "_blank");
|
||||
}
|
||||
// 选择文件
|
||||
function fileChange(e) {
|
||||
@ -136,7 +136,7 @@ function fileChange(e) {
|
||||
let formData = new FormData();
|
||||
formData.append("file", file);
|
||||
axios
|
||||
.post("/mosty-base/minio/image/upload/id", formData, {
|
||||
.post("/bagl/mosty-base/minio/image/upload/id", formData, {
|
||||
"Content-type": "multipart/form-data"
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user