From 0b38ca3613f54d905617d45759932bfa120aaf5b Mon Sep 17 00:00:00 2001 From: lisl <1223762861@qq.com> Date: Fri, 22 Oct 2021 09:04:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontCode2/sunshine_levy/src/views/index.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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");