2016-11-11 101 views

回答

2

明白了here

credentials: 'include' 

,而不是

withCredentials: true 
+0

它也在[官方规格](ht tps://fetch.spec.whatwg.org/#cors-protocol-and-credentials)以XHR为例 – CodingIntrigue