fix: 去除403页面无关逻辑

This commit is contained in:
valarchie 2023-08-15 09:53:03 +08:00
parent ced2e9120d
commit 695c012305

View File

@ -1,17 +1,10 @@
<script setup lang="ts"> <script setup lang="ts">
// import { useRouter } from "vue-router"; // import { useRouter } from "vue-router";
import noAccess from "@/assets/status/403.svg?component"; import noAccess from "@/assets/status/403.svg?component";
import * as CommonAPI from "@/api/common";
defineOptions({ defineOptions({
name: "403" name: "403"
}); });
async function getConfig() {
await CommonAPI.getLoginUserInfo().then(res => {
console.log(res);
});
}
</script> </script>
<template> <template>
@ -54,7 +47,6 @@ async function getConfig() {
</p> </p>
<el-button <el-button
type="primary" type="primary"
@click="getConfig"
v-motion v-motion
:initial="{ :initial="{
opacity: 0, opacity: 0,