gongchunyi
2026-08-05 6a09bcb5727f07fcc8594d4ef69c4aea638fe2e7
src/views/error/401.vue
@@ -26,17 +26,17 @@
</template>
<script setup>
import errImage from "@/assets/401_images/401.gif";
import errImage from "@/assets/401_images/401.gif"
let { proxy } = getCurrentInstance();
let { proxy } = getCurrentInstance()
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);
    proxy.$router.go(-1)
  }
}
</script>