guhongwei 2 anni fa
parent
commit
f47025d83e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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}`
 				})
 			},
 			// 计算高度