You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/oaf/src/views/Home.vue

44 lines
737 B
Vue

4 years ago
<style>
.home {
height: 100%;
width: 100%;
}
</style>
5 years ago
<template>
4 years ago
<div class='home d-flex justify-center align-center'>
<one-icon style="color: aqua;font-size: 50px">glassdoor</one-icon>
5 years ago
</div>
</template>
4 years ago
<script lang='ts'>
import {Component, Vue} from 'vue-property-decorator'
import util from '@/libs/util'
5 years ago
@Component({
4 years ago
components: {}
5 years ago
})
4 years ago
export default class Home extends Vue {
apps = []
getApps() {
this.$api.app.list().Start(d => {
console.log(d)
this.apps = d
})
}
4 years ago
mounted() {
this.getApps()
4 years ago
}
created() {
}
beforeCreate() {
if (!util.checkLogin()) {
this.$router.push({name: 'login', query: this.$route.query, params: this.$route.params})
}
}
4 years ago
}
5 years ago
</script>