zs 2 年之前
父節點
當前提交
52b78521b5
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 1
      pagesHome/order/order.vue
  2. 2 0
      pagesMy/address/index.vue

+ 1 - 1
pagesHome/order/order.vue

@@ -266,7 +266,7 @@
 						})
 					} else {
 						uni.showToast({
-							title: arr.data.errmsg || '下单失败!',
+							title: arr.errmsg,
 							icon: 'none'
 						})
 					}

+ 2 - 0
pagesMy/address/index.vue

@@ -158,6 +158,7 @@
 					let list = [...that.list, ...res.data];
 					that.$set(that, `list`, list);
 					that.$set(that, `total`, res.total)
+					if (list.length == 0) uni.$emit("id", '')
 					if (that.id) {
 						for (let i = 0; i < list.length; i++) {
 							if (list[i]._id === that.id) {
@@ -358,6 +359,7 @@
 
 				.radio_1 {
 					width: 80vw;
+
 					.name {
 						font-size: var(--font16Size);
 						margin: 0 0 2vw 0;