解决了划走之后的问题

This commit is contained in:
luyuan 2020-09-05 12:09:57 +08:00
parent 539309b370
commit 23916ea7fa
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 4 additions and 1 deletions

View File

@ -163,7 +163,7 @@ export default {
}); });
} }
}); });
} if (this.state == 2) { }else if (this.state == 2) {
if (!this.$u.test.mobile(this.phone)) { if (!this.$u.test.mobile(this.phone)) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '手机号码有误!', title: '手机号码有误!',

View File

@ -379,6 +379,9 @@
console.log('App Launch'); console.log('App Launch');
}, },
onShow: function() { onShow: function() {
if(!this.zhibo){
return ;
}
this.stop() this.stop()
this.startPreview() this.startPreview()
this.start() this.start()