We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d65afed + 9304bfe commit 26529e0Copy full SHA for 26529e0
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "vue-aplayer",
3
- "version": "1.4.1",
+ "version": "1.4.2",
4
"description": "Easy-to-config music player for Vue 2.x",
5
"main": "dist/vue-aplayer.min.js",
6
"files": [
@@ -23,8 +23,8 @@
23
"keywords": [
24
"vue",
25
"aplayer",
26
- "player",
27
- "music",
+ "vue-aplayer",
+ "music-player",
28
"html5"
29
],
30
"author": {
src/vue-aplayer.vue
@@ -434,10 +434,11 @@
434
},
435
pause () {
436
this.audioPlayPromise
437
- // Avoid force rejection throws Uncaught
438
- .catch(() => {
+ .then(() => {
+ this.audio.pause()
439
})
440
- .finally(() => {
+ // Avoid force rejection throws Uncaught
441
+ .catch(() => {
442
this.audio.pause()
443
444
0 commit comments