Commit dabd543e by Tianqing Liu

feat: 暴露相关方法到外部

1 parent 0b11a55d
...@@ -142,6 +142,9 @@ export default { ...@@ -142,6 +142,9 @@ export default {
}, },
mounted() { mounted() {
window.playWebVideo = this.playWebVideo; window.playWebVideo = this.playWebVideo;
window.initWebVideo = this.initWebVideo;
window.screenshot = this.screenshot;
window.stopPlay = this.stopPlay;
}, },
methods: { methods: {
initWebVideo(obj) { initWebVideo(obj) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!