Chrome, no response data after OPTIONS request?

前端 未结 2 975
甜味超标
甜味超标 2021-02-05 07:07

I\'m using CORS to fetch some data from an API. All was working well until Chrome update launched a day ago.

Now after an OPTIONS request the subsequent request always r

2条回答
  •  感动是毒
    2021-02-05 07:39

    A quick fix, until the module is updated, is to comment out this line in dist/vue-resource.common.js:

    xhr.responseType = 'blob';

    It should be somewhere around line ~1054

提交回复
热议问题