init: 初始系统模板

This commit is contained in:
TsMask
2023-09-05 14:38:23 +08:00
parent a5bc16ae4f
commit 1075c8ae4f
130 changed files with 22531 additions and 1 deletions

21
src/views/error/403.vue Normal file
View File

@@ -0,0 +1,21 @@
<script setup lang="ts">
import { useRouter } from 'vue-router';
const router = useRouter();
</script>
<template>
<a-result
status="403"
title="没有访问权限"
sub-title="请不要进行非法操作您可以返回主页面或返回"
>
<template #extra>
<RouterLink :to="{ name: 'Index' }" :replace="true">
<a-button type="primary"> 返回首页 </a-button>
</RouterLink>
<a-button type="default" @click="() => router.back()"> 返回 </a-button>
</template>
</a-result>
</template>
<style lang="less" scoped></style>