@pisell/pisellos 0.0.313 → 0.0.314
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.
|
@@ -1679,7 +1679,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
1679
1679
|
console.log('[Checkout] 定金状态无变化,跳过更新');
|
|
1680
1680
|
return _context19.abrupt("return");
|
|
1681
1681
|
case 10:
|
|
1682
|
-
deposit_amount =
|
|
1682
|
+
deposit_amount = this.store.currentOrder.deposit_amount || '0.00'; // 如果原来没有 deposit_amount,则默认把待付金额置为 deposit_amount
|
|
1683
1683
|
if (!deposit_amount || Number(deposit_amount) === 0) {
|
|
1684
1684
|
deposit_amount = this.store.currentOrder.expect_amount;
|
|
1685
1685
|
}
|
|
@@ -1098,7 +1098,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
1098
1098
|
console.log("[Checkout] 定金状态无变化,跳过更新");
|
|
1099
1099
|
return;
|
|
1100
1100
|
}
|
|
1101
|
-
let deposit_amount =
|
|
1101
|
+
let deposit_amount = this.store.currentOrder.deposit_amount || "0.00";
|
|
1102
1102
|
if (!deposit_amount || Number(deposit_amount) === 0) {
|
|
1103
1103
|
deposit_amount = this.store.currentOrder.expect_amount;
|
|
1104
1104
|
}
|