From 78e1eb4df46034aa0143c1bb4636db71acc745ea Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 9 Feb 2022 15:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=87=E6=8D=A2=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=AD=E9=97=B4=E5=87=BA=E7=8E=B0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/saas/AppGridManagement/SelectUser.vue | 255 ---------------------- src/store/index.js | 11 +- 2 files changed, 1 insertion(+), 265 deletions(-) delete mode 100644 src/saas/AppGridManagement/SelectUser.vue diff --git a/src/saas/AppGridManagement/SelectUser.vue b/src/saas/AppGridManagement/SelectUser.vue deleted file mode 100644 index 6def424f..00000000 --- a/src/saas/AppGridManagement/SelectUser.vue +++ /dev/null @@ -1,255 +0,0 @@ - - - - - diff --git a/src/store/index.js b/src/store/index.js index 3b035949..c3401bcd 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -3,7 +3,6 @@ import Vuex from 'vuex' import perState from 'vuex-persistedstate' import http from '../common/axios' import CryptoJS from '../utils/crypto-js' -import qs from 'qs' Vue.use(Vuex) let agentSignURL = "", apiList = [] @@ -234,8 +233,7 @@ const store = new Vuex.Store({ } }, agentSign(state, params) { - let url = window.location.href, - {corpId, suiteId} = state.state.config + let url = window.location.href if (agentSignURL == url) { return Promise.resolve() } else { @@ -243,13 +241,6 @@ const store = new Vuex.Store({ if (sessionStorage.getItem("prj")?.indexOf("saas") > -1) { params = {...params, corpId: "ww596787bb70f08288"} } - if (qs.parse(location.search)?.corpId) { - params = { - corpId: qs.parse(location.search).corpId - } - } else { - params = params || {corpId, suiteId} - } return http.post("/app/wxcp/portal/agentSign", null, { params: {...params, url} }).then(res => {