zs 2 years ago
parent
commit
1c2eca3b1b
1 changed files with 6 additions and 2 deletions
  1. 6 2
      pagesHome/group/index.vue

+ 6 - 2
pagesHome/group/index.vue

@@ -43,7 +43,11 @@
 								</view>
 								<view class="some">
 									<text>参团人数</text>
-									<text>{{item.persons.length||0}}人</text>
+									<text>{{item.persons.createdAt||'暂无'}}</text>
+								</view>
+								<view class="some">
+									<text>开团时间</text>
+									<text>{{item.meta.length||0}}人</text>
 								</view>
 							</view>
 							<view class="other">
@@ -133,7 +137,7 @@
 						type: '1'
 					}
 					if (e._id) {
-						data.group_id = e._id
+						data.group = e._id
 					}
 					let arr = await that.$api(`/util/checkCanBuy`, 'POST', data)
 					if (arr.errcode == '0') {