migrate beforeDestroy to beforeUnmount
This commit is contained in:
@@ -128,7 +128,7 @@ export default {
|
||||
},
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
this.anotherEditor.destroy()
|
||||
},
|
||||
|
||||
@@ -133,7 +133,7 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
},
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -236,7 +236,7 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ export default {
|
||||
},
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.title.destroy()
|
||||
this.tasks.destroy()
|
||||
this.description.destroy()
|
||||
|
||||
@@ -33,7 +33,7 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user