src/views/error/401.vue
@@ -24,11 +24,11 @@ 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); }