@kmkf-fe-packages/basic-components 2.0.19-beta.42 → 2.0.19-beta.44
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
|
@@ -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/dist/index.js
CHANGED
|
@@ -13815,7 +13815,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13815
13815
|
dataIndex: 'orderPrice',
|
|
13816
13816
|
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
13817
13817
|
render: function render(val, record) {
|
|
13818
|
-
return (record.num || record.num === 0) && (val || val === 0) ? val * record.num : null;
|
|
13818
|
+
return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
|
|
13819
13819
|
},
|
|
13820
13820
|
width: 200
|
|
13821
13821
|
}, {
|
|
@@ -13876,7 +13876,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13876
13876
|
ellipsis: true,
|
|
13877
13877
|
width: 100,
|
|
13878
13878
|
render: function render(val, record) {
|
|
13879
|
-
return (record.num || record.num === 0) && (val || val === 0) ? val * record.num : null;
|
|
13879
|
+
return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
|
|
13880
13880
|
}
|
|
13881
13881
|
}, {
|
|
13882
13882
|
dataIndex: 'num',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.19-beta.
|
|
3
|
+
"version": "2.0.19-beta.44",
|
|
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.19-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.19-beta.44",
|
|
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": "3229dda5257b873d53180200b0eb42bae6435be4"
|
|
69
69
|
}
|