This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
|
||||
<script>
|
||||
import aboutInfo from "./utils/aboutinfo";
|
||||
|
||||
export default {
|
||||
name: "App",
|
||||
data() {
|
||||
@@ -55,6 +56,9 @@ export default {
|
||||
drawer: null
|
||||
};
|
||||
},
|
||||
// beforeCreate() {
|
||||
|
||||
// },
|
||||
mounted() {
|
||||
if (!this.$store.state.authenticated) {
|
||||
this.$router.replace({ name: "login" });
|
||||
|
||||
Reference in New Issue
Block a user