Commit 6b26a810 authored by lilei's avatar lilei

00

parent c70f4cbe
...@@ -39,6 +39,7 @@ export default { ...@@ -39,6 +39,7 @@ export default {
beforeDestroy() { beforeDestroy() {
this.$refs.videoDom.removeEventListener('canplay') this.$refs.videoDom.removeEventListener('canplay')
this.$refs.videoDom.removeEventListener('ended') this.$refs.videoDom.removeEventListener('ended')
this.$refs.videoDom.removeEventListener('timeupdate')
}, },
methods: { methods: {
canPlayFunc() { canPlayFunc() {
......
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
}, },
created() {}, created() {},
mounted() { mounted() {
this.$bus.on('videoCutter.canPlay', this.canPlayFunc) this.$bus.on('VideoCutter.canPlay', this.canPlayFunc)
}, },
methods: { methods: {
changeVideo() { changeVideo() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment