<template>
  <div class="wrapper error">
    <div class="cent mainc">
      <img src="@/assets/timg2.jpg" alt width="400" /><br>
      <el-button plain class="primary" @click="pushUrl()">返回主页</el-button>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.mainc {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
    text-align: center;
}
.mainc img,.mainc button{display:inline;}
.error {
  background: #ffffff;
  height: 100%;
  width: 100%;
}
</style>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
@Component({
  components: {}
})
export default class Error extends Vue {
  pushUrl(){
    window.open(window.location.origin + '/dutySystem/login','_self')
  }
}
</script>
