From fb6c187c215f3065565c245a997073c0b1526f14 Mon Sep 17 00:00:00 2001 From: fan Date: Thu, 27 Apr 2023 13:21:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=A1=B9=E7=9B=AE=E9=85=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/thirdLogin/index.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/thirdLogin/index.vue b/src/views/thirdLogin/index.vue index 9cd76ee83..397d7b518 100644 --- a/src/views/thirdLogin/index.vue +++ b/src/views/thirdLogin/index.vue @@ -9,9 +9,9 @@ import { LoginParams } from '@/utils/login'; import { thirdCountLogin } from '@/api/management/user'; import md5 from 'js-md5'; -import { setToken, getToken, getSessionStorage } from '@/utils/auth'; +import { setToken, getToken } from '@/utils/auth'; // , ProjectLoginStyleList, VersionBaseNoShow, MainBodyNoShow, NoQrcodeList, localPackageProject, RegisterCodeList -import { loginInfo, ProjectIcon } from '@/scripts/ProjectConfig'; +// import { loginInfo, ProjectIcon } from '@/scripts/ProjectConfig'; export default { name:'ThirdLogin', @@ -26,12 +26,12 @@ export default { return project || 'login'; } }, - created() { - const project = getSessionStorage('project'); - if (project) { - document.querySelector("link[rel*='icon']").href = loginInfo[project].linkIcon || ProjectIcon[project]; - } - }, + // created() { + // const project = getSessionStorage('project'); + // if (project) { + // document.querySelector("link[rel*='icon']").href = loginInfo[project].linkIcon || ProjectIcon[project]; + // } + // }, mounted() { const userId = this.$route.query.userId; const paccount = this.$route.query.paccount; @@ -42,7 +42,7 @@ export default { if (userId && paccount && secret == computeSecret) { const model = Object.assign({ parentAccount:paccount, - project:loginInfo[this.project].loginParam, + project: this.$store.state.projectConfig.projectCode, account:userId, deviceCode:deviceCode }, LoginParams.LianKeTang);