tools-min-ns 1.18.9 → 1.18.11
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/README.md
CHANGED
|
@@ -139,8 +139,8 @@ function exampleAsyncFunction() {
|
|
|
139
139
|
requestType?: 'json' | 'form';
|
|
140
140
|
/** 前端接受类型(默认json) */
|
|
141
141
|
responseType?: 'json' | 'text' | 'blob' | 'arrayBuffer' | 'formData';
|
|
142
|
-
/** 打印 */
|
|
143
|
-
isLog
|
|
142
|
+
/** 打印 @default false */
|
|
143
|
+
isLog?: boolean;
|
|
144
144
|
};
|
|
145
145
|
export function getAuthorization(opt: RequestParam): string;
|
|
146
146
|
export {};
|
|
@@ -156,7 +156,7 @@ import jsonpFn, { jsonpRquest as jsonpRquestFn } from './jsonp';
|
|
|
156
156
|
import nsPromiseFn from './nsPromiseFn';
|
|
157
157
|
import StringUtil from '../string/StringUtil';
|
|
158
158
|
import PasswordUtil from '../pwd/PasswordUtil';
|
|
159
|
-
import DateUtil from '
|
|
159
|
+
import DateUtil from '../date/DateUtil';
|
|
160
160
|
var RequestUtil;
|
|
161
161
|
(function (RequestUtil) {
|
|
162
162
|
/** @name 浙里办请求工具设置默认请求头 */
|
|
@@ -139,8 +139,8 @@ function exampleAsyncFunction() {
|
|
|
139
139
|
requestType?: 'json' | 'form';
|
|
140
140
|
/** 前端接受类型(默认json) */
|
|
141
141
|
responseType?: 'json' | 'text' | 'blob' | 'arrayBuffer' | 'formData';
|
|
142
|
-
/** 打印 */
|
|
143
|
-
isLog
|
|
142
|
+
/** 打印 @default false */
|
|
143
|
+
isLog?: boolean;
|
|
144
144
|
};
|
|
145
145
|
export function getAuthorization(opt: RequestParam): string;
|
|
146
146
|
export {};
|
|
@@ -197,7 +197,7 @@ var jsonp_1 = __importStar(require("./jsonp"));
|
|
|
197
197
|
var nsPromiseFn_1 = __importDefault(require("./nsPromiseFn"));
|
|
198
198
|
var StringUtil_1 = __importDefault(require("../string/StringUtil"));
|
|
199
199
|
var PasswordUtil_1 = __importDefault(require("../pwd/PasswordUtil"));
|
|
200
|
-
var DateUtil_1 = __importDefault(require("
|
|
200
|
+
var DateUtil_1 = __importDefault(require("../date/DateUtil"));
|
|
201
201
|
var RequestUtil;
|
|
202
202
|
(function (RequestUtil) {
|
|
203
203
|
/** @name 浙里办请求工具设置默认请求头 */
|