Browse Source

摄像头功能

wangxy 2 tháng trước cách đây
mục cha
commit
f15a0dd632
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      components/videoPlay/videoPlay.vue

+ 3 - 1
components/videoPlay/videoPlay.vue

@@ -215,7 +215,9 @@
 					s_tag.charset = 'utf-8';
 					s_tag.onload = () => {
 						//	console.log(this.playAuth);
-						this.playAli()
+						setTimeout(() => {
+							this.playAli()
+						}, 10);
 						resolve();
 					}
 					document.body.appendChild(s_tag);