2021-05-30 14:39:41 +08:00

22 lines
359 B
Vue

<template>
<div></div>
</template>
<script>
export default {
data() {
return {}
},
mounted() {
if (this.usrLogin) {
this.goForward({path: '/dashboard'}, true);
} else {
this.goForward({path: '/users/login'}, true);
}
},
deactivated() {
this.$destroy()
}
}
</script>