xbx #88

Merged
theluyuan merged 2 commits from xbx into master 2020-09-05 07:28:46 +00:00
3 changed files with 5 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()

View File

@ -47,6 +47,7 @@ export default {
this.$u.api.reportdetail({ this.$u.api.reportdetail({
id: id id: id
}).then(res => { }).then(res => {
console.log(res)
if (res.errCode != 0) { if (res.errCode != 0) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.message,