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
|
|
@ -26,10 +26,10 @@ export default {
|
|||
"";
|
||||
this.updateAnswers();
|
||||
},
|
||||
destroyed() {
|
||||
unmounted() {
|
||||
this.$matrix.off("Room.timeline", this.pollMixinOnEvent);
|
||||
},
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
if (this.pollResponseRelations) {
|
||||
this.pollResponseRelations.off("Relations.add", this.onAddRelation);
|
||||
this.pollResponseRelations = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue