😎401、404页面使用本地图片,避免不必要外链
This commit is contained in:
parent
6ae7f54cdc
commit
93ffa5ad50
BIN
Web/src/assets/401.png
Normal file
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
BIN
Web/src/assets/404.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
@ -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
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user