From 1935e68a4cba2e9eedf8f3abf7f6ca76b56d5e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Mon, 15 May 2023 15:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B3=E5=85=89=E6=9D=91=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sunVillage_info/index.vue | 2 ++ src/views/sunVillage_info/index_code.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/sunVillage_info/index.vue b/src/views/sunVillage_info/index.vue index a92ebebf..3011d46b 100644 --- a/src/views/sunVillage_info/index.vue +++ b/src/views/sunVillage_info/index.vue @@ -101,6 +101,7 @@ import Cookies from "js-cookie"; import {logout} from "../../api/login"; import { sysConfig } from "@/api/homesteadSurvey/index"; + import {removeToken} from "@/utils/auth"; export default { name: "certificateList", data() { @@ -238,6 +239,7 @@ }, logout(){ logout().then(res => { + removeToken(); this.$router.push({path:"/sunVillage_info/index_code",query:{bookId:Cookies.get('bookId'),deptId:Cookies.get('deptId')}}) }) }, diff --git a/src/views/sunVillage_info/index_code.vue b/src/views/sunVillage_info/index_code.vue index 5f4a6f49..58fbd4cc 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -69,7 +69,7 @@ import { sysConfig } from "@/api/homesteadSurvey/index"; import Cookies from "js-cookie"; export default { - name: "certificateList", + name: "sunVillageInfoIndexCode", data() { return { xsgsList:[],