component-sanzhizhou 1.0.17 → 1.0.18

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.
@@ -8,6 +8,7 @@ interface Props {
8
8
  size?: number;
9
9
  defaultPrice?: number;
10
10
  minPrice?: number;
11
+ precision?: number;
11
12
  maxPrice?: number;
12
13
  onHandSuccess: () => void;
13
14
  env?: Global.Env;
@@ -54,6 +54,8 @@ var PayRecharge = function PayRecharge(_ref) {
54
54
  nickName = _ref.nickName,
55
55
  _ref$minPrice = _ref.minPrice,
56
56
  minPrice = _ref$minPrice === void 0 ? 1 : _ref$minPrice,
57
+ _ref$precision = _ref.precision,
58
+ precision = _ref$precision === void 0 ? 2 : _ref$precision,
57
59
  allowPayChannelList = _ref.allowPayChannelList,
58
60
  _ref$productKind = _ref.productKind,
59
61
  productKind = _ref$productKind === void 0 ? 'recharge' : _ref$productKind,
@@ -172,7 +174,7 @@ var PayRecharge = function PayRecharge(_ref) {
172
174
  rechargeRuleList: rechargeRuleList
173
175
  }),
174
176
  className: "ssz-recharge-form-moneyAmount-input",
175
- precision: 2,
177
+ precision: precision,
176
178
  min: minPrice,
177
179
  max: maxPrice,
178
180
  placeholder: formatMessage('请输入'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-sanzhizhou",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",