소스 검색

fix: 发送截图的bug

xsx 2 달 전
부모
커밋
e7f37629e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'
 					}