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:[],