mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -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,
|
container: this.$refs.artRef,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.$emit('getInstance', this.instance);
|
this.$nextTick(() => {
|
||||||
|
this.$emit('getInstance', this.instance);
|
||||||
|
});
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
if (this.instance && this.instance.destroy) {
|
if (this.instance && this.instance.destroy) {
|
||||||
|
|||||||
Reference in new issue
Block a user