@kmkf-fe-packages/basic-components 2.0.44 → 2.0.46
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/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -13791,7 +13791,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13791
13791
|
dataIndex: 'orderPrice',
|
|
13792
13792
|
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
13793
13793
|
render: function render(val, record) {
|
|
13794
|
-
return (record.num || record.num === 0) && (val || val === 0) ? val * record.num : null;
|
|
13794
|
+
return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
|
|
13795
13795
|
},
|
|
13796
13796
|
width: 200
|
|
13797
13797
|
}, {
|
|
@@ -13852,7 +13852,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13852
13852
|
ellipsis: true,
|
|
13853
13853
|
width: 100,
|
|
13854
13854
|
render: function render(val, record) {
|
|
13855
|
-
return (record.num || record.num === 0) && (val || val === 0) ? val * record.num : null;
|
|
13855
|
+
return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
|
|
13856
13856
|
}
|
|
13857
13857
|
}, {
|
|
13858
13858
|
dataIndex: 'num',
|
package/dist/index.js
CHANGED
|
@@ -13803,7 +13803,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13803
13803
|
dataIndex: 'orderPrice',
|
|
13804
13804
|
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
13805
13805
|
render: function render(val, record) {
|
|
13806
|
-
return (record.num || record.num === 0) && (val || val === 0) ? val * record.num : null;
|
|
13806
|
+
return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
|
|
13807
13807
|
},
|
|
13808
13808
|
width: 200
|
|
13809
13809
|
}, {
|
|
@@ -13864,7 +13864,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13864
13864
|
ellipsis: true,
|
|
13865
13865
|
width: 100,
|
|
13866
13866
|
render: function render(val, record) {
|
|
13867
|
-
return (record.num || record.num === 0) && (val || val === 0) ? val * record.num : null;
|
|
13867
|
+
return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
|
|
13868
13868
|
}
|
|
13869
13869
|
}, {
|
|
13870
13870
|
dataIndex: 'num',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.46",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/kmkf-utils": "2.0.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.46",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
26
|
"kmkf-monitor": "^0.8.9",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "5d0f5367848cbd3220631cb3590baa34ff497297"
|
|
69
69
|
}
|