antd-management-fast-framework 1.12.62 → 1.12.63
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/es/utils/tools.d.ts +5 -0
- package/es/utils/tools.js +6 -0
- package/package.json +3 -3
package/es/utils/tools.d.ts
CHANGED
|
@@ -616,6 +616,11 @@ export function decodeBase64(target: any): any;
|
|
|
616
616
|
* base64编码
|
|
617
617
|
*/
|
|
618
618
|
export function encodeBase64(target: any): string;
|
|
619
|
+
/**
|
|
620
|
+
* 补零
|
|
621
|
+
* @param {*} val
|
|
622
|
+
* @returns
|
|
623
|
+
*/
|
|
619
624
|
export function fixedZero(val: any): any;
|
|
620
625
|
/**
|
|
621
626
|
* getTimeDistance
|
package/es/utils/tools.js
CHANGED
|
@@ -1710,6 +1710,12 @@ function decodeBase64(target) {
|
|
|
1710
1710
|
function encodeBase64(target) {
|
|
1711
1711
|
return (0, _core.encodeBase64)(target);
|
|
1712
1712
|
}
|
|
1713
|
+
/**
|
|
1714
|
+
* 补零
|
|
1715
|
+
* @param {*} val
|
|
1716
|
+
* @returns
|
|
1717
|
+
*/
|
|
1718
|
+
|
|
1713
1719
|
|
|
1714
1720
|
function fixedZero(val) {
|
|
1715
1721
|
return val * 1 < 10 ? "0".concat(val) : val;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.63",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"eslint-config-prettier": "^8.5.0",
|
|
170
170
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
171
171
|
"eslint-plugin-import": "^2.26.0",
|
|
172
|
-
"eslint-plugin-jest": "^26.4.
|
|
172
|
+
"eslint-plugin-jest": "^26.4.5",
|
|
173
173
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
174
174
|
"eslint-plugin-prettier": "^4.0.0",
|
|
175
175
|
"eslint-plugin-react": "^7.30.0",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"src/framework",
|
|
220
220
|
"src/utils"
|
|
221
221
|
],
|
|
222
|
-
"gitHead": "
|
|
222
|
+
"gitHead": "52fd01a38ce9badbe176c678b33286057cc0a1b5",
|
|
223
223
|
"gitHooks": {
|
|
224
224
|
"pre-commit": "lint-staged"
|
|
225
225
|
}
|