From 00f7ab34efc17bf383eecf7bf81844b874ac1a8d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 03 十二月 2024 11:15:09 +0800 Subject: [PATCH] fix 修复 修复默认关闭Tags-Views时,内链页面打不开 --- 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