feat: new feat

This commit is contained in:
JaguarJack
2023-01-11 17:21:16 +08:00
parent 2a1afa3e1a
commit dcd6b7a9d7
7 changed files with 22 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div :style="bgColor" class="flex flex-col w-full">
<img src="/admin/assets/404.png" class="w-full sm:w-3/5 m-auto" />
<img :src="notFound" class="w-full sm:w-3/5 m-auto" />
<div class="mr-auto w-full bottom-0 m-auto">
<div class="w-full text-center text-base text-gray-400">抱歉您访问的页面不存在</div>
<div @click="push('/')" class="text-center w-full mt-2">
@@ -14,6 +14,7 @@
import { useRouter } from 'vue-router'
import { useAppStore } from '/admin/stores/modules/app'
import { computed } from 'vue'
import notFound from '/admin/assets/404.png'
const { push } = useRouter()