Skip to content

Commit 3e39a29

Browse files
committed
fix(props): fix #99
1 parent 6d46708 commit 3e39a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vue-aplayer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
type: Object,
103103
required: true,
104104
validator (song) {
105-
return !song.src
105+
return !!song.src
106106
},
107107
},
108108
list: {

0 commit comments

Comments
 (0)