diff --git a/mini-app/src/pages/mall/order/order-check.wpy b/mini-app/src/pages/mall/order/order-check.wpy index 13a7c7969..3bee52ec8 100644 --- a/mini-app/src/pages/mall/order/order-check.wpy +++ b/mini-app/src/pages/mall/order/order-check.wpy @@ -149,6 +149,9 @@ wepy.page({ ...mapActions([ 'setOrderAction' ]), + onAdd() { + appManager.navigateTo(userAddressPage) + }, async init() { this.isInit = false @@ -176,6 +179,11 @@ wepy.page({ }, onSubmit() { + if (!this.order.addressId) { + appManager.showToast('请选择收货地址.') + return + } + orderApis.createOrder(this.order).then(r => { wx.hideLoading()