diff --git a/src/App.vue b/src/App.vue index 54c79d5..f7ef837 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,10 +5,11 @@ import { ref, onMounted, onUnmounted, reactive } from "vue"; import { useRouter, useRoute } from "vue-router"; import tools from "@/utils/tools"; +import { ElMessage } from "element-plus"; const router = useRouter(); const inactivityTimer = ref(null); const resetTimer = () => { - console.log("执行"); + // console.log("执行"); let typeE = tools.data.get("type"); if (typeE == "2") { clearTimeout(inactivityTimer.value); @@ -32,8 +33,8 @@ const resetTimer = () => { router.replace({ path: "/guide", }); - window.location.href = - "http://220.191.238.50:996/api/login?returnURL=" + window.location.href; + // window.location.href = + // "http://220.191.238.50:996/api/login?returnURL=" + window.location.href; }, 30 * 60 * 1000); // 30分钟 } }; diff --git a/src/view/guide.vue b/src/view/guide.vue index 7c548a5..a2cf020 100644 --- a/src/view/guide.vue +++ b/src/view/guide.vue @@ -79,7 +79,6 @@ import png5 from "@/assets/guide/Dp/5.png"; import png6 from "@/assets/guide/Dp/6.png"; import png7 from "@/assets/guide/Dp/7.png"; import png8 from "@/assets/guide/Dp/8.png"; -import { ElMessage } from "element-plus"; import tools from "@/utils/tools"; import CryptoJS from "crypto-js"; const router = useRouter();