Selaa lähdekoodia

fix: 发送截图的bug

xsx 2 kuukautta sitten
vanhempi
commit
e7f37629e7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      im-web/src/components/chat/ChatBox.vue

+ 1 - 1
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'
 					}