<template> <div class="ConfigError"> <div><img src="../../assets/getTokenError.png"/></div> <div> <div style="margin-bottom: 16px">抱歉,获取用户身份失败</div> <div><a-button type="primary" @click="Re_acquisition()">重试获取</a-button></div> </div> </div> </template> <script> export default { name: 'noPermission', components: {}, data () { return {} }, watch: {}, computed: {}, methods: { Re_acquisition () { this.$router.push({ name: 'dashboard' }) } }, mounted () {} } </script> <style scoped> .ConfigError{ position: fixed; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .ConfigError>div:nth-of-type(2){ font-size: 20px; } .ConfigError image { width: 408px; height: 308px; } .ConfigError>div:nth-of-type(1){ margin-right: 88px; } </style>