zs 2 роки тому
батько
коміт
857b3f19c4
1 змінених файлів з 1 додано та 0 видалено
  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'