refactoring
This commit is contained in:
@@ -33,7 +33,6 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
highlightCode() {
|
highlightCode() {
|
||||||
|
|
||||||
Prism.highlightAllUnder(this.$el)
|
Prism.highlightAllUnder(this.$el)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -41,13 +40,5 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.highlightCode()
|
this.highlightCode()
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeDestroy() {
|
|
||||||
console.log('JOOOO')
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
Reference in New Issue
Block a user