lhl il y a 2 ans
Parent
commit
d2797d3966
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      pages/shop/rent.vue

+ 3 - 3
pages/shop/rent.vue

@@ -101,7 +101,7 @@
 					</view>
 				</view>
 				<view class="tc flex" v-for="(item,index) in tcList" :class="{'action': selectTcIndex == index}"
-					@click="choosTc(index,item)" v-if="item.day == 30 || !userinfo.payRules">
+					@click="choosTc(index,item)" v-if="item.day == 30 || !userInfo.payRules">
 
 					<view class="tc-price">
 						{{item.price}}
@@ -758,7 +758,7 @@
 			getRents() {
 				let that = this
 				getRents({
-					store_id: that.is_tj ? that.userinfo.store_id : that.selctStore.id
+					store_id: that.is_tj ? that.userInfo.store_id : that.selctStore.id
 				}).then(res => {
 					that.tcList = res.data.rent
 					that.selectTc = that.tcList[0]
@@ -786,7 +786,7 @@
 					that.loading = true
 				}
 				rentCreate({
-					store_id: that.is_tj ? that.userinfo.store_id : that.selctStore.id,
+					store_id: that.is_tj ? that.userInfo.store_id : that.selctStore.id,
 					rent_id: that.selectTc.id,
 					// #ifdef H5
 					from: 'weixin', //来源