From 469c1c4d92c6bf8daba10c9b4f32a1c0fafe24b5 Mon Sep 17 00:00:00 2001 From: danshihao Date: Wed, 24 Jul 2024 16:50:46 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E9=A3=9E=E4=B9=A6=E5=8D=95=E7=82=B9?= =?UTF-8?q?=E7=99=BB=E5=BD=95]=20=E6=9C=89token=E6=97=B6=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=8D=95=E7=82=B9=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/less/common.less | 1 + src/permission.js | 2 +- src/views/system/firendshipLinkManage/FriendshipLinkList.vue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/assets/less/common.less b/src/assets/less/common.less index d26982d..84dc759 100644 --- a/src/assets/less/common.less +++ b/src/assets/less/common.less @@ -981,6 +981,7 @@ @-moz-document url-prefix() { /deep/ .ant-table-fixed-header .ant-table-scroll .ant-table-header { margin-bottom: 0px !important; + padding-bottom: 0 !important; overflow-x: hidden !important; } } diff --git a/src/permission.js b/src/permission.js index 9d7c99f..38df185 100644 --- a/src/permission.js +++ b/src/permission.js @@ -35,7 +35,7 @@ router.beforeEach(async (to, from, next) => { store.commit('SET_NAME', { username: userInfo.username, realname: userInfo.realname, welcome: welcome() }) store.commit('SET_AVATAR', userInfo.avatar) } - } else if (!Vue.ls.get(ACCESS_TOKEN) && to.query.code && to.query.state === 'feishu') { + } else if (to.query.code && to.query.state === 'feishu') { // 如果没有登录,state是飞书,并且有code,就请求飞书单点登录 await store.dispatch('FeiShuLogin', to.query.code).catch((e) => { this.$message.warn(e.message) diff --git a/src/views/system/firendshipLinkManage/FriendshipLinkList.vue b/src/views/system/firendshipLinkManage/FriendshipLinkList.vue index 3e8d73c..d165b1c 100644 --- a/src/views/system/firendshipLinkManage/FriendshipLinkList.vue +++ b/src/views/system/firendshipLinkManage/FriendshipLinkList.vue @@ -36,7 +36,7 @@ -
+
{{ $t('newlyAdded') }}