Merge pull request 'xbx' (#88) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/88
This commit is contained in:
luyuan 2020-09-05 15:28:45 +08:00
commit 9ee97373bc
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,