component-shipinlv 0.1.17 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/global.less +4 -3
- package/dist/lib/getApiUrl.js +4 -4
- package/package.json +1 -1
package/dist/global.less
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//不要随便加, next 不支持
|
2
|
+
//.ant-modal-confirm-btns{
|
3
|
+
// display: none !important;
|
4
|
+
//}
|
package/dist/lib/getApiUrl.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import ApiUrlsInfo, { currentEnv } from "../config/apiUrls";
|
2
2
|
var ApiUrls = function ApiUrls() {
|
3
|
-
var _window
|
4
|
-
return ((_window
|
3
|
+
var _window, _window2;
|
4
|
+
return ((_window = window) === null || _window === void 0 || (_window = _window.WebBaseConfig) === null || _window === void 0 || (_window = _window[(_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.WebBaseConfig) === null || _window2 === void 0 ? void 0 : _window2.webKind]) === null || _window === void 0 ? void 0 : _window.apiUrls) || ApiUrlsInfo;
|
5
5
|
};
|
6
6
|
var envData = function envData() {
|
7
|
-
var
|
8
|
-
return ((
|
7
|
+
var _window3;
|
8
|
+
return ((_window3 = window) === null || _window3 === void 0 || (_window3 = _window3.WebBaseConfig) === null || _window3 === void 0 ? void 0 : _window3.currentEnv) || currentEnv;
|
9
9
|
};
|
10
10
|
var getApiUrl = function getApiUrl() {
|
11
11
|
var _domain;
|