فهرست منبع

Merge remote-tracking branch 'origin/release-201817-yc' into release-201817-yc

yangc 7 سال پیش
والد
کامیت
8ebe9b4e2f
1فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده
  1. 5 4
      components/mobile/base/addressView.vue

+ 5 - 4
components/mobile/base/addressView.vue

@@ -112,13 +112,14 @@
         this.showLogout = true
       },
       goNext() {
-        if (this.saveId.active === 0) {
-          this.setActiveClick(this.addressList[1].id)
-        }
         this.$http.put(`/trade/address/delete/${this.saveId.id}`)
           .then(() => {
-            this.initList()
             this.showLogout = false
+            if (this.saveId.active === 0) {
+              this.setActiveClick(this.addressList[1].id)
+            } else {
+              this.initList()
+            }
           })
       },
       // 编辑事件