From 23916ea7fa19268e21e0bea45ba6b0d4e234fac0 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Sat, 5 Sep 2020 12:09:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BA=86=E5=88=92=E8=B5=B0?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.vue | 2 +- pages/release/zhibo.nvue | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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()