component-sanzhizhou 1.0.8 → 1.0.9
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/pay/recharge.d.ts +2 -0
- package/dist/pay/recharge.js +6 -2
- package/package.json +1 -1
package/dist/pay/recharge.d.ts
CHANGED
package/dist/pay/recharge.js
CHANGED
|
@@ -40,6 +40,10 @@ var PayChannelList = [{
|
|
|
40
40
|
}];
|
|
41
41
|
var PayRecharge = function PayRecharge(_ref) {
|
|
42
42
|
var nickName = _ref.nickName,
|
|
43
|
+
_ref$minPrice = _ref.minPrice,
|
|
44
|
+
minPrice = _ref$minPrice === void 0 ? 1 : _ref$minPrice,
|
|
45
|
+
_ref$maxPrice = _ref.maxPrice,
|
|
46
|
+
maxPrice = _ref$maxPrice === void 0 ? 5000 : _ref$maxPrice,
|
|
43
47
|
onHandSuccess = _ref.onHandSuccess,
|
|
44
48
|
env = _ref.env;
|
|
45
49
|
var _useState = useState(PayChannelList[0].childrenList[0]),
|
|
@@ -136,8 +140,8 @@ var PayRecharge = function PayRecharge(_ref) {
|
|
|
136
140
|
}),
|
|
137
141
|
addonAfter: "\u5143",
|
|
138
142
|
precision: 0,
|
|
139
|
-
min:
|
|
140
|
-
max:
|
|
143
|
+
min: minPrice,
|
|
144
|
+
max: maxPrice,
|
|
141
145
|
placeholder: "\u8BF7\u8F93\u5165\u5145\u503C\u91D1\u989D",
|
|
142
146
|
autoFocus: true,
|
|
143
147
|
controls: false
|