😎401、404页面使用本地图片,避免不必要外链

This commit is contained in:
zuohuaijun 2024-06-27 01:49:52 +08:00
parent 6ae7f54cdc
commit 93ffa5ad50
4 changed files with 4 additions and 2 deletions

BIN
Web/src/assets/401.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
Web/src/assets/404.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -13,7 +13,7 @@
</div>
</div>
<div class="right">
<img src="https://i.hd-r.cn/2cf0d2e192660eec23eb9d0655753e7d.png" />
<img :src="unauthorizedImage" />
</div>
</div>
</div>
@ -22,6 +22,7 @@
<script setup lang="ts" name="noPower">
import { Session } from '/@/utils/storage';
import unauthorizedImage from '/@/assets/401.png';
const onSetAuth = () => {
// https://gitee.com/lyt-top/vue-next-admin/issues/I5C3JS

View File

@ -13,7 +13,7 @@
</div>
</div>
<div class="right">
<img src="https://i.hd-r.cn/1a0d90a6c1e8b0184c7299dda713effd.png" />
<img :src="notFoundImage" />
</div>
</div>
</div>
@ -22,6 +22,7 @@
<script setup lang="ts" name="notFound">
import { useRouter } from 'vue-router';
import notFoundImage from '/@/assets/404.png';
//
const router = useRouter();