@pisell/private-materials 3.0.113 → 3.0.115
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/pay/toC/PaymentList/index.js +1 -1
- package/lib/components/pay/toC/PaymentList/index.js +1 -1
- package/package.json +2 -2
|
@@ -154,7 +154,7 @@ var PaymentList = function PaymentList(props, ref) {
|
|
|
154
154
|
var paymentList = (_filterPaymentList = filterPaymentList(list, platform)) === null || _filterPaymentList === void 0 ? void 0 : _filterPaymentList.paymentList;
|
|
155
155
|
|
|
156
156
|
// 当支付方式大于1的时候
|
|
157
|
-
if (paymentList.length >
|
|
157
|
+
if (paymentList.length > 0) {
|
|
158
158
|
// 默认支付
|
|
159
159
|
var first = paymentList[0];
|
|
160
160
|
|
|
@@ -90,7 +90,7 @@ var PaymentList = (props, ref) => {
|
|
|
90
90
|
setLoading(true);
|
|
91
91
|
const platform = ((_b2 = (_a2 = context.appHelper) == null ? void 0 : _a2.constants) == null ? void 0 : _b2.platform) || "h5";
|
|
92
92
|
const paymentList2 = (_c = (0, import_serve.filterPaymentList)(list, platform)) == null ? void 0 : _c.paymentList;
|
|
93
|
-
if (paymentList2.length >
|
|
93
|
+
if (paymentList2.length > 0) {
|
|
94
94
|
let first = paymentList2[0];
|
|
95
95
|
setPaymentList(paymentList2);
|
|
96
96
|
paymentTypeChange(first.service, first);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.115",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
62
|
"@pisell/utils": "1.0.28",
|
|
63
|
-
"@pisell/materials": "3.0.
|
|
63
|
+
"@pisell/materials": "3.0.37",
|
|
64
64
|
"@pisell/icon": "0.0.11",
|
|
65
65
|
"@pisell/date-picker": "1.0.97"
|
|
66
66
|
},
|