guhongwei 2 years ago
parent
commit
f47025d83e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/home/index.vue

+ 1 - 1
pages/home/index.vue

@@ -117,7 +117,7 @@
 			},
 			toBuy(e) {
 				uni.navigateTo({
-					url: `/pagesHome/order/detail?id=${e.id}`
+					url: `/pagesHome/order/detail?id=${e.id||e._id}`
 				})
 			},
 			// 计算高度