From 0d9875bc9707c5e649b7f86abe6080f4ec326114 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 26 九月 2024 17:40:35 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/index.js | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/index.js b/src/index.js index 8109ce6..673b9a0 100644 --- a/src/index.js +++ b/src/index.js @@ -188,14 +188,14 @@ GLOB.baseurl = GLOB.location + '/' + GLOB.service GLOB.linkurl = GLOB.baseurl + 'index.html' GLOB.dataFormat = false - - let mark = sessionStorage.getItem('system_mark') - let _mark = `sys_${GLOB.service.replace('/', '') || 'service'}` - if (mark && mark !== _mark) { - sessionStorage.clear() - } - sessionStorage.setItem('system_mark', _mark) } + + let mark = sessionStorage.getItem('system_mark') + let _mark = `sys_${GLOB.service.replace('/', '') || 'service'}` + if (mark && mark !== _mark) { + sessionStorage.clear() + } + sessionStorage.setItem('system_mark', _mark) if (config.mainkey && GLOB.sysType !== 'cloud' && config.mainkey !== options.cakey) { GLOB.localkey = GLOB.appkey -- Gitblit v1.8.0