mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-16 06:03:42 +08:00
feat(ui): 管理后台基础配置
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
<template>
|
||||
<div class="about">
|
||||
<h1>This is an about page</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
@media (min-width: 1024px) {
|
||||
.about {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,4 @@
|
||||
<script lang="ts" setup></script>
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
@@ -0,0 +1,4 @@
|
||||
<script lang="ts" setup></script>
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
4
gpt-vue/projects/vue-admin/src/views/DashboardView.vue
Normal file
4
gpt-vue/projects/vue-admin/src/views/DashboardView.vue
Normal file
@@ -0,0 +1,4 @@
|
||||
<script lang="ts" setup></script>
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
@@ -1,9 +0,0 @@
|
||||
<script setup lang="ts">
|
||||
import TheWelcome from '../components/TheWelcome.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main>
|
||||
<TheWelcome />
|
||||
</main>
|
||||
</template>
|
||||
19
gpt-vue/projects/vue-admin/src/views/NotFound.vue
Normal file
19
gpt-vue/projects/vue-admin/src/views/NotFound.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from "vue-router";
|
||||
const router = useRouter();
|
||||
const goBack = () => {
|
||||
if (window.history.length) {
|
||||
router.back();
|
||||
return;
|
||||
}
|
||||
router.replace("/");
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AResult status="404" subtitle="找不到页面">
|
||||
<template #extra>
|
||||
<AButton type="primary" @click="goBack">返回</AButton>
|
||||
</template>
|
||||
</AResult>
|
||||
</template>
|
||||
@@ -0,0 +1,4 @@
|
||||
<script lang="ts" setup></script>
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
@@ -0,0 +1,4 @@
|
||||
<script lang="ts" setup></script>
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
@@ -0,0 +1,4 @@
|
||||
<script lang="ts" setup></script>
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user