zhengkaixin 2 years ago
parent
commit
f59eed3352

+ 4 - 1
pages/monthlyCardActivity/monthlyCardBuy.vue

@@ -171,7 +171,10 @@
 		 computed:{
 			 endCardBool(){
 			
-			 	var date=new Date().getTime()
+			 	var date=new Date().getTime()
+				if(!this.detail.endTime){
+					return true;
+				}
 			 	var date2=newDate(this.detail.endTime).getTime();
 			 
 			 	if(date<date2){

+ 1 - 1
pages/searchPile/chargeProcess/charge.vue

@@ -12,7 +12,7 @@
 				<view class="recharge-item" @click="moneyClick(item.id)"
 					:class="!otherNum&&moneyActiveClass == item.id ? 'active' : ''" v-for="(item,index) in moneyList"
 					:key="item.id">
-					{{item.name.toFixed(2)}}元
+					{{item.name}}元
 				</view>
 				<view class="recharge-item" :class="otherNum ? 'active' : ''" style="
 					padding: 8px 0px;">

+ 0 - 4
utils/requestSon.js

@@ -38,10 +38,6 @@ const request = (options) => {
 			//防止连续请求多个接口时loading闪现
 			let [error, res] = response;
 			
-			if(process.car.NODE_ENV=='dev'){
-				console.log("dev环境显示"+options.url)	
-				 console.log(res.data)	
-			}
 			
 			if (res.data.code == 415&&res.data.message=='请先注册信息') {
 				carhelp.signOut()