vue中循环一个封装的video组件,第一个没报错,后面的都报Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. https://goo.gl/LdLk22

其中一个原因就是id是唯一的,每个组件内部都有一个id,循环还是一个id,所以需要给组件传个不一样的值来改变一下id就可以解决这个问题

vue中循环一个封装的video组件,第一个没报错,后面的都报Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. https://goo.gl/LdLk22

 

vue中循环一个封装的video组件,第一个没报错,后面的都报Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. https://goo.gl/LdLk22

 

vue中循环一个封装的video组件,第一个没报错,后面的都报Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. https://goo.gl/LdLk22

 

vue中循环一个封装的video组件,第一个没报错,后面的都报Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. https://goo.gl/LdLk22

上一篇:LAMP架构应用实战—Apache服务基于端口虚拟主机配置


下一篇:ThinkPHP5 WHERE AND OR 实现多条件查询