From 0bf5378baaee29fe942a9cbbfdada9975cdb3aac Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Sat, 28 May 2022 10:59:20 +0800 Subject: [PATCH] =?UTF-8?q?CN-593=20fix:=20=E8=B0=83=E6=95=B4endtime?= =?UTF-8?q?=E7=9A=84=E5=AE=9E=E7=8E=B0=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.json | 2 +- src/permission.js | 1 - src/utils/constants.js | 3 +- .../entityList/detailOverview/Ip.vue | 6 ++-- .../detailOverview/entityDetailMixin.js | 34 ++++++++----------- 5 files changed, 20 insertions(+), 26 deletions(-) diff --git a/public/config.json b/public/config.json index c852aa67..2fb81cba 100644 --- a/public/config.json +++ b/public/config.json @@ -1 +1 @@ -{"baseUrl": "http://192.168.44.53:8090/", "version": "2.0.2021.05.11.19.43","performanceEndTimeInterval": 86400} \ No newline at end of file +{"baseUrl": "http://192.168.44.53:8090/", "version": "2.0.2021.05.11.19.43"} diff --git a/src/permission.js b/src/permission.js index e05ebeed..d49ce0f7 100644 --- a/src/permission.js +++ b/src/permission.js @@ -20,7 +20,6 @@ router.beforeEach(async (to, from, next) => { if (!axios.defaults.baseURL) { const config = await getConfigJson() axios.defaults.baseURL = config.baseUrl - axios.defaults.performanceEndTimeInterval = config.performanceEndTimeInterval } if (localStorage.getItem(storageKey.token)) { // 加载i18n diff --git a/src/utils/constants.js b/src/utils/constants.js index 6be0a9ac..55b4e4d8 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -25,8 +25,7 @@ export const storageKey = { entitySearchHistory: 'cn-entity-search-history', echartLegendFontSize: 'echartLegendFontSize', echartLabelFontSize: 'echartLabelFontSize', - tokenExpireCurrentPath: 'token-expire-current-path', - performanceEndTimeInterval: 'performance-endTime-interval' + tokenExpireCurrentPath: 'token-expire-current-path' } // 统一定义跳转来源 diff --git a/src/views/entityExplorer/entityList/detailOverview/Ip.vue b/src/views/entityExplorer/entityList/detailOverview/Ip.vue index 74d5287c..9e94fcaf 100644 --- a/src/views/entityExplorer/entityList/detailOverview/Ip.vue +++ b/src/views/entityExplorer/entityList/detailOverview/Ip.vue @@ -180,13 +180,13 @@