2021-05-29 23:58:28 +08:00

22 lines
353 B
Vue

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