ztxkutils 2.10.22 → 2.10.24
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/dist/fileOperation.js +1 -1
- package/dist/hooks.js +1 -1
- package/dist/index.js +2 -2
- package/dist/request-fa549248.js +2809 -0
- package/dist/request.d.ts +1 -0
- package/dist/request.js +1 -1
- package/dist/{tools-42d3993e.js → tools-09a4d620.js} +1 -1
- package/dist/tools.js +1 -1
- package/dist/useFileIdToBase64.js +1 -1
- package/dist/workflow.js +1 -1
- package/package.json +1 -1
package/dist/request.d.ts
CHANGED
@@ -7,6 +7,7 @@ export interface IOptions extends AxiosRequestConfig {
|
|
7
7
|
encryptionType?: 'aes' | 'des' | boolean;
|
8
8
|
isTimeoutMessage?: boolean;
|
9
9
|
isForceRequest?: boolean;
|
10
|
+
noCatchUrl?: string[];
|
10
11
|
}
|
11
12
|
export default function request(myOptions: IOptions, jumpCallback?: any): any;
|
12
13
|
export declare function clearCatch(): void;
|
package/dist/request.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import './tslib.es6-35653116.js';
|
2
2
|
import 'axios';
|
3
3
|
import 'ztxkui';
|
4
|
-
export { c as clearCatch, a as default } from './request-
|
4
|
+
export { c as clearCatch, a as default } from './request-fa549248.js';
|
5
5
|
import './authority-e6bde99f.js';
|
6
6
|
import './crypto-c481f616.js';
|
7
7
|
import 'crypto';
|
@@ -2215,7 +2215,7 @@ function exactRound(num, ratio) {
|
|
2215
2215
|
}
|
2216
2216
|
try {
|
2217
2217
|
// return _round(num, ratio).toFixed(ratio);
|
2218
|
-
return Number(new Decimal$1(num).toFixed(ratio));
|
2218
|
+
return Number(new Decimal$1(num).toFixed(ratio)).toFixed(ratio);
|
2219
2219
|
}
|
2220
2220
|
catch (err) {
|
2221
2221
|
console.error(err);
|
package/dist/tools.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import './tslib.es6-35653116.js';
|
2
2
|
import 'dayjs';
|
3
|
-
export { S as SHOWFRAME_KEY, h as clearAssignStr, k as copyContent, d as dangerouslySetXss, c as divide, e as exactRound, g as getUrlSearch, j as isEqualByKey, l as loadFileRename, m as minus, p as plus, s as showFrame, a as timeTransfrom, b as times, f as toThousand, i as transformFileSize } from './tools-
|
3
|
+
export { S as SHOWFRAME_KEY, h as clearAssignStr, k as copyContent, d as dangerouslySetXss, c as divide, e as exactRound, g as getUrlSearch, j as isEqualByKey, l as loadFileRename, m as minus, p as plus, s as showFrame, a as timeTransfrom, b as times, f as toThousand, i as transformFileSize } from './tools-09a4d620.js';
|
package/dist/workflow.js
CHANGED