diff --git a/im-web/src/components/chat/ChatBox.vue b/im-web/src/components/chat/ChatBox.vue index c6e2322..75123cf 100644 --- a/im-web/src/components/chat/ChatBox.vue +++ b/im-web/src/components/chat/ChatBox.vue @@ -445,7 +445,7 @@ export default { this.onImageBefore(file); let formData = new FormData() formData.append('file', file) - this.$http.post("/image/upload", formData, { + this.$http.post("/image/upload?isPermanent=false", formData, { headers: { 'Content-Type': 'multipart/form-data' }