diff --git a/src/views/otherEdit/newsEdit.vue b/src/views/otherEdit/newsEdit.vue index 803b858..b174d58 100644 --- a/src/views/otherEdit/newsEdit.vue +++ b/src/views/otherEdit/newsEdit.vue @@ -69,7 +69,7 @@ export default { let formData = new FormData(); formData.append("file", file); axios({ - url: process.env.VUE_APP_BASE_API + "/file/upload", + url: process.env.VUE_APP_BASE_API + "/common/upload", method: "POST", data: formData, headers: {