byt-ui 0.1.16 → 0.1.17
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.
package/lib/byt-ui.common.js
CHANGED
|
@@ -158496,7 +158496,7 @@ class request_Request {
|
|
|
158496
158496
|
if (token && !isToken) {
|
|
158497
158497
|
config.headers['Authorization'] = `Bearer ${token}`; // token
|
|
158498
158498
|
}
|
|
158499
|
-
config.headers['TENANT-ID'] =
|
|
158499
|
+
config.headers['TENANT-ID'] = this.getQueryString('TENANT-ID') || TENANT_ID || ''; // 租户ID
|
|
158500
158500
|
|
|
158501
158501
|
return config;
|
|
158502
158502
|
}, error => {
|
package/lib/byt-ui.umd.js
CHANGED
|
@@ -158506,7 +158506,7 @@ class request_Request {
|
|
|
158506
158506
|
if (token && !isToken) {
|
|
158507
158507
|
config.headers['Authorization'] = `Bearer ${token}`; // token
|
|
158508
158508
|
}
|
|
158509
|
-
config.headers['TENANT-ID'] =
|
|
158509
|
+
config.headers['TENANT-ID'] = this.getQueryString('TENANT-ID') || TENANT_ID || ''; // 租户ID
|
|
158510
158510
|
|
|
158511
158511
|
return config;
|
|
158512
158512
|
}, error => {
|