Vue lifecycle changes
destroyed -> unmounted, beforeDestroy -> beforeUnmount
This commit is contained in:
parent
ae312db784
commit
2c5b386af9
18 changed files with 20 additions and 20 deletions
|
|
@ -79,7 +79,7 @@ export default {
|
|||
this.room.on("Room.receipt", this.onReceipt);
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
if (this.room) {
|
||||
this.room.off("Room.receipt", this.onReceipt);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue