Explorar o código

摄像头功能

wangxy hai 2 meses
pai
achega
f15a0dd632
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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);