LouisLam
3 years ago
5 changed files with 50 additions and 19 deletions
@ -0,0 +1,33 @@ |
|||
<template> |
|||
<div></div> |
|||
</template> |
|||
|
|||
<script> |
|||
import axios from "axios"; |
|||
|
|||
export default { |
|||
|
|||
data() { |
|||
return {}; |
|||
}, |
|||
|
|||
computed: { |
|||
|
|||
}, |
|||
|
|||
watch: { |
|||
|
|||
}, |
|||
|
|||
async mounted() { |
|||
let entryPage = (await axios.get("/api/entry-page")).data; |
|||
|
|||
if (entryPage === "statusPage") { |
|||
this.$router.push("/status-page"); |
|||
} else { |
|||
this.$router.push("/dashboard"); |
|||
} |
|||
}, |
|||
|
|||
}; |
|||
</script> |
Loading…
Reference in new issue