15179599649
2024-01-17 08faddd4300531fbd73660ce8e523fbb76e13e02
src/views/discrimination/index.vue
@@ -27,20 +27,22 @@
export default {
  data() {
    return {
      checkinis: true,
      checkinis: false,
      topath: ""
    };
  },
  computed: {},
  // created() {
  //   if (localStorage.getItem("tokensave") != null) {
  //     this.$router.push("/");
  //   }
  // },
  // beforeRouteEnter(to, from, next) {
  //   // store.commit("updatelogintopath", from.path);
  // },
  created() {
    if (
      this.$store.state.logintopath == "/examine" ||
      this.$store.state.logintopath == "/Appraising"
    ) {
      this.$router.push({
        path: "/login"
      });
    }
  },
  methods: {
    // 身份切换选择
    checkin(key) {