From e3b5d7ca543cbb4e268d70a44bc78269d54547fe Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 26 十一月 2024 13:25:37 +0800 Subject: [PATCH] update 优化 菜单面包屑导航支持多层级显示 --- src/views/error/401.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/error/401.vue b/src/views/error/401.vue index 63c03ba..968550c 100644 --- a/src/views/error/401.vue +++ b/src/views/error/401.vue @@ -21,15 +21,14 @@ <script setup lang="ts"> import errImage from '@/assets/401_images/401.gif'; -import { ComponentInternalInstance } from "vue"; let { proxy } = getCurrentInstance() as ComponentInternalInstance; -const errGif = ref(errImage + "?" + +new Date()); +const errGif = ref(errImage + '?' + +new Date()); function back() { if (proxy?.$route.query.noGoBack) { - proxy.$router.push({ path: "/" }); + proxy.$router.push({ path: '/' }); } else { proxy?.$router.go(-1); } -- Gitblit v1.9.3