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); }