@kmkf-fe-packages/basic-components 1.10.1-beta.3 → 1.10.1-beta.4

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 CHANGED
@@ -11734,15 +11734,24 @@ var columns$1 = [{
11734
11734
  }, {
11735
11735
  dataIndex: 'marketPrice',
11736
11736
  title: '市场价',
11737
- width: 140
11737
+ width: 140,
11738
+ render: function render(price) {
11739
+ return Number(price).toFixed(2);
11740
+ }
11738
11741
  }, {
11739
11742
  dataIndex: 'retailPrice',
11740
11743
  title: '零售价',
11741
- width: 140
11744
+ width: 140,
11745
+ render: function render(price) {
11746
+ return Number(price).toFixed(2);
11747
+ }
11742
11748
  }, {
11743
11749
  dataIndex: 'memberPrice',
11744
11750
  title: '会员价',
11745
- width: 140
11751
+ width: 140,
11752
+ render: function render(price) {
11753
+ return Number(price).toFixed(2);
11754
+ }
11746
11755
  }];
11747
11756
  var GoodList = function GoodList(props, ref) {
11748
11757
  var _useState = useState([]),
package/dist/index.js CHANGED
@@ -11746,15 +11746,24 @@ var columns$1 = [{
11746
11746
  }, {
11747
11747
  dataIndex: 'marketPrice',
11748
11748
  title: '市场价',
11749
- width: 140
11749
+ width: 140,
11750
+ render: function render(price) {
11751
+ return Number(price).toFixed(2);
11752
+ }
11750
11753
  }, {
11751
11754
  dataIndex: 'retailPrice',
11752
11755
  title: '零售价',
11753
- width: 140
11756
+ width: 140,
11757
+ render: function render(price) {
11758
+ return Number(price).toFixed(2);
11759
+ }
11754
11760
  }, {
11755
11761
  dataIndex: 'memberPrice',
11756
11762
  title: '会员价',
11757
- width: 140
11763
+ width: 140,
11764
+ render: function render(price) {
11765
+ return Number(price).toFixed(2);
11766
+ }
11758
11767
  }];
11759
11768
  var GoodList = function GoodList(props, ref) {
11760
11769
  var _useState = React.useState([]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "1.10.1-beta.3",
3
+ "version": "1.10.1-beta.4",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "742bfd59fa28ebb9271eb3f9db2fdd57de0e2426"
68
+ "gitHead": "88ee1f883149b6cb4b50bb5bb3b5dced78826384"
69
69
  }