diff --git a/FrontCode2/sunshine_levy/src/views/index.vue b/FrontCode2/sunshine_levy/src/views/index.vue index 143970e..f36ba13 100644 --- a/FrontCode2/sunshine_levy/src/views/index.vue +++ b/FrontCode2/sunshine_levy/src/views/index.vue @@ -289,14 +289,14 @@ export default { }; }, created() { - // if (!this.$route.query.ticket) { - // window.location.replace( - // "https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs" - // ); - // } else { - // this.onInit(); - // } - this.onInit(); + if (!this.$route.query.ticket) { + window.location.replace( + "https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs" + ); + } else { + this.onInit(); + } + // this.onInit(); this.setLocationAplus(); SetTicket(this.$route.query.ticket); $(".logout").css("display", "none");