diff --git a/src/views/home/boxBtm.vue b/src/views/home/boxBtm.vue index 6c83f81..8495dca 100644 --- a/src/views/home/boxBtm.vue +++ b/src/views/home/boxBtm.vue @@ -24,10 +24,10 @@
-
User name
+
{{ item.nickname }}
-
+8
+
{{ item.score }}
diff --git a/src/views/home/gameView.vue b/src/views/home/gameView.vue index 52ae331..db130a2 100644 --- a/src/views/home/gameView.vue +++ b/src/views/home/gameView.vue @@ -100,7 +100,6 @@ export default { clearInterval(serTimeId) } } else { - console.log(JSON.stringify(data)) // alert(`领取成功, 播放动画, 并显示奖励: ${JSON.stringify(data)}`) cc.mainAnim.setCurrPos(getTotalUsed) cc.mainAnim.setData(step) diff --git a/src/views/home/helpDialog.vue b/src/views/home/helpDialog.vue index 9f2d0bc..48bf051 100644 --- a/src/views/home/helpDialog.vue +++ b/src/views/home/helpDialog.vue @@ -98,10 +98,12 @@ export default { this.boxId = this.$route.params.boxId.split("id=")[1]; this.boxCode = this.$route.params.box.split("box=")[1]; // this.$axios.all([this.getBoxData(),this.getHelpBoxLog(),this.helpConfirm(),this.initBoxState(this.boxCode,this.boxId)]) - this.getBoxData() - this.getHelpBoxLog() - this.helpConfirm() - this.initBoxState(this.boxCode,this.boxId) + if(this.token) { + this.getBoxData() + this.getHelpBoxLog() + this.helpConfirm() + this.initBoxState(this.boxCode,this.boxId) + } }, methods: { // 宝箱信息接口 diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 2369c7e..426744f 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -65,7 +65,7 @@
- +