diff --git a/src/App.vue b/src/App.vue index 38704d5..4437b0a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,3 @@ - - diff --git a/src/components/Main.vue b/src/components/Main.vue index 443f026..1c65b46 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -1,6 +1,6 @@ @@ -38,11 +37,6 @@ export default { AppNavigationItem, Player, }, - methods: { - changeVolume(volume) { - this.$emit('changeVolume', volume) - }, - }, } diff --git a/src/components/Player.vue b/src/components/Player.vue index 989ec1b..b8789e4 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -16,7 +16,7 @@ max="1" step=".05" :value="player.volume" - @input="changeVolume"> + @input="changeVolume($event)"> {{ player.volume }} @@ -24,9 +24,6 @@