Browse Source

規格更改

remove_uniapp
w-R 3 years ago
parent
commit
8a47c0e102
  1. 16
      lib/settlement/settlement.dart
  2. 2
      pubspec.yaml

16
lib/settlement/settlement.dart

@ -257,14 +257,14 @@ class _Settlement extends State<Settlement> {
/// ///
queryPlaceOrderFirst() async { queryPlaceOrderFirst() async {
for (int i = 0; i < settleOrderInfo.orderProductList.length; i++) { // for (int i = 0; i < settleOrderInfo.orderProductList.length; i++) {
settleOrderInfo.orderProductList.forEach((element1) { // settleOrderInfo.orderProductList.forEach((element1) {
if (settleOrderInfo.orderProductList[i].productId == // if (settleOrderInfo.orderProductList[i].productId ==
element1.productId) { // element1.productId) {
settleOrderInfo.orderProductList[i].skuId = element1.skuId; // settleOrderInfo.orderProductList[i].skuId = element1.skuId;
} // }
}); // });
} // }
placeOrderFirst = PlaceOrderFirst(); placeOrderFirst = PlaceOrderFirst();
placeOrderFirst.cartNum = settleOrderInfo.orderNum; placeOrderFirst.cartNum = settleOrderInfo.orderNum;

2
pubspec.yaml

@ -106,6 +106,8 @@ flutter:
assets: assets:
- assets/image/ - assets/image/
- assets/image/2x/
- assets/image/3x/
- assets/map_style/ - assets/map_style/
- assets/riv/ - assets/riv/
- assets/svg/ - assets/svg/

Loading…
Cancel
Save