优化代码

This commit is contained in:
java110 2020-08-15 17:04:37 +08:00
parent 991ee837b9
commit 61eb785659

View File

@ -17,7 +17,7 @@
ownerId: '',
ownerPhoto: '',
idCard: '',
videoPlaying: false,
videoPlaying: true,
}
},
_initMethod: function () {
@ -149,7 +149,7 @@
ownerId: '',
ownerPhoto: '',
idCard: '',
videoPlaying: false,
videoPlaying: true,
};
},
_addUserMedia: function () {
@ -181,6 +181,7 @@
console.log(error);
});
} else {
vc.component.addOwnerInfo.videoPlaying = false;
console.log("初始化视频失败");
}
},