@@ -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()
+ }
})
// 编辑事件