<!--
 * @Author: WangQiBiao
 * @Date: 2019-10-08 16:13:47
 * @LastEditors: MoZhuangRu
 * @LastEditTime: 2019-11-21 17:14:09
 * @Description: 没有权限
 -->
<template>
  <div class="no-login">
    <el-alert
      title="您没有登录权限，请联系管理员申请权限"
      type="warning"
      show-icon
      center
      class="no-login-label"
    >
    </el-alert>
    <el-row class="no-login-btn">
      <el-button type="primary" @click="goLogin">返回登录页面</el-button>
    </el-row>
  </div>
</template>
<script>
export default {
  methods: {
    goLogin () {
      this.$router.push({ path: '/login' })
    }
  }
}
</script>

<style lang="scss">
@import "@/assets/css/function";
.no-login {
  color: #fff;
  margin: auto;
  .no-login-label {
    border-radius: 0;
  }
  .no-login-btn{
    padding-top: 200px;
    margin: auto;
    text-align: center;
  }
}
</style>
