优化代码

This commit is contained in:
java110 2020-08-15 17:09:55 +08:00
parent 6f140a88e0
commit 19da42e3c0
2 changed files with 1 additions and 2 deletions

View File

@ -50,7 +50,7 @@
</div>
<div style="width: 100%;" v-else>
<div v-if="addOwnerInfo.videoPlaying == true">
<video id="ownerPhoto" style="width: 100%;"></video>
<video id="ownerPhoto" style="width: 100%;height: 150rem;"></video>
<canvas id="canvas" style="display:none;"></canvas>
</div>
<div v-else>

View File

@ -160,7 +160,6 @@
},
_initAddOwnerMedia: function () {
if (vc.component._addUserMedia()) {
//vc.component.addOwnerInfo.videoPlaying = false;
var constraints = {
video: true,
audio: false