diff --git a/pages/login/login.vue b/pages/login/login.vue index 124f1c4..5bb1910 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -163,7 +163,7 @@ export default { }); } }); - } if (this.state == 2) { + }else if (this.state == 2) { if (!this.$u.test.mobile(this.phone)) { this.$refs.uToast.show({ title: '手机号码有误!', diff --git a/pages/release/zhibo.nvue b/pages/release/zhibo.nvue index 3e516de..d52148f 100644 --- a/pages/release/zhibo.nvue +++ b/pages/release/zhibo.nvue @@ -379,6 +379,9 @@ console.log('App Launch'); }, onShow: function() { + if(!this.zhibo){ + return ; + } this.stop() this.startPreview() this.start() diff --git a/pages/user/complaintDetails.vue b/pages/user/complaintDetails.vue index 3278cb6..f870566 100644 --- a/pages/user/complaintDetails.vue +++ b/pages/user/complaintDetails.vue @@ -47,6 +47,7 @@ export default { this.$u.api.reportdetail({ id: id }).then(res => { + console.log(res) if (res.errCode != 0) { this.$refs.uToast.show({ title: res.message,