<template>
  <div class="errorpage">
    <img
      src="@/assets/failed.png"
      alt=""
      style="margin-top: 10%; width: 150px"
    />
    <h6>{{ msg }}</h6>

    <h6 v-if="type == 'xml'">请退出应用重新进入</h6>
    <h6 v-else>请联系安全管理系统运维人员</h6>
  </div>
</template>

<script>
export default {
  name: "Failed",
};
</script>
<script setup>
import { useRoute } from "vue-router";
const route = useRoute();
const type = route.query.type;
const msg = route.query.msg;
console.log("failVUE===", type, msg);
</script>
<style>
.errorpage {
  text-align: center;
  padding-top: 80px;
}
.errorpage h6 {
  margin: 10px;
  font-weight: normal;
}
</style>
