qinzhipeng_v 5 年 前
コミット
ed84469430
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/Platform/useCasePage.vue

+ 1 - 1
src/views/Platform/useCasePage.vue

@@ -634,7 +634,7 @@ export default {
         formData_s.append('file', f)
         this.grid_xmind.push({ 'name': f.name, 'url': 'http://pt-starfile.didistatic.com/static/starfile/node/hjvKFStkqD1574316045070.xmind' })
         // url (必须), init对象 (可选)
-        fetch('http://star.xiaojukeji.com/upload/img.node', formData_s).then(function(res) {
+        fetch('http://star.xiaojukeji.com/upload/img.node', formData_s, { credentials: 'include' }).then(function(res) {
           console.log(res)
           return res.json()
         }).catch(err => {