mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
Update index.js
This commit is contained in:
1 parent
b0ac1eaaaa
commit
b0fb0737cc
1 file changed
+3
-1
@@ -20,7 +20,9 @@ export default {
|
||||
container: this.$refs.artRef,
|
||||
});
|
||||
|
||||
this.$emit('getInstance', this.instance);
|
||||
this.$nextTick(() => {
|
||||
this.$emit('getInstance', this.instance);
|
||||
});
|
||||
},
|
||||
beforeDestroy() {
|
||||
if (this.instance && this.instance.destroy) {
|
||||
|
||||
Reference in new issue
Block a user