Browse Source

处理测试bug

Administrator 7 years ago
parent
commit
429b4546bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/mobile/base/addressView.vue

+ 1 - 1
components/mobile/base/addressView.vue

@@ -115,7 +115,7 @@
         this.$http.put(`/trade/address/delete/${this.saveId.id}`)
           .then(() => {
             this.showLogout = false
-            if (this.saveId.active === 0) {
+            if (this.saveId.active === 0 && this.addressList.length > 1) {
               this.setActiveClick(this.addressList[1].id)
             } else {
               this.initList()