yuang-framework-ui-common 1.0.77 → 1.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,9 @@ const messageMap = {
27
27
  const http = axios.create({
28
28
  // baseURL: apiBaseUrl,
29
29
  timeout: 10000,
30
- headers: {}
30
+ headers: {},
31
+ // 关键:允许跨域请求携带凭证(Cookie等)
32
+ withCredentials: true,
31
33
  })
32
34
 
33
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-common",
3
- "version": "1.0.77",
3
+ "version": "1.0.79",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {