zhanghui 2 éve
szülő
commit
ddb676468f
1 módosított fájl, 1 hozzáadás és 4 törlés
  1. 1 4
      pages/index/index.vue

+ 1 - 4
pages/index/index.vue

@@ -562,17 +562,14 @@
 								storeId:JSON.parse(data).storeId,
 								timestamp:JSON.parse(data).timestamp
 							}
-							this.getUserInfo()
-							console.log(param)
 							that.$api.service.clockIn(param).then(res=>{
 								uni.showToast({
 									icon: 'success',
 									duration: 2000,
 									title: '签到成功'
 								});
-								that.userInfo.signIn = true
 								uni.setStorageSync('userInfo', that.userInfo )
-								that.currServiceInfo()
+								that.getUserInfo()
 							})
 						},
 					}