wenbobowen 4 년 전
부모
커밋
a9789bbc95
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/input/normalArea.vue

+ 2 - 1
src/components/input/normalArea.vue

@@ -152,7 +152,8 @@ export default {
       const config = {
         headers: {
           // 'Content-Type': 'multipart/form-data'
-          'Content-Type': 'multipart/json'
+          'Content-Type': 'multipart/json',
+          'referer': 'https://xingyun.xiaojukeji.com'
         },
         withCredentials: false
       } // 添加请求头