zs 2 anni fa
parent
commit
857b3f19c4
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      pagesMy/address/index.vue

+ 1 - 0
pagesMy/address/index.vue

@@ -298,6 +298,7 @@
 						if (res.confirm) {
 							const arr = await that.$api(`/address/${e._id}`, 'DELETE');
 							if (arr.errcode == '0') {
+								if (that.address === e._id) uni.$emit("id", '')
 								uni.showToast({
 									title: '删除信息成功',
 									icon: 'none'