Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
created () {
Events.$on('app.route.update', this.updateTransition)
Events.$on('app.route.before', (to, path) => {
this.$refs.wrapper.scrollTop = 0
})
},
destroyed () {
created () {
Events.$on('app.route.update', this.updateTransition)
Events.$on('app.route.before', (to, path) => {
this.$refs.wrapper.scrollTop = 0
})
},
destroyed () {
created () {
Events.$on('app.route.update', this.updateBreadcrumb)
},
mounted () {