zs 2 лет назад
Родитель
Сommit
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'