From a5dc5d5dce2e563b73a28aaa6fb52822b6bd7a1f Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Fri, 3 Sep 2021 17:38:58 +0800 Subject: [PATCH] * set tid in login page. --- www/js/my.full.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/www/js/my.full.js b/www/js/my.full.js index 1b699d7e48..8f7a503fbd 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -39,7 +39,7 @@ { if(window.parent.$.tabSession) _tid = window.parent.$.tabSession.getTid(); } - else if(config.currentModule === 'index' && config.currentMethod === 'index') + else if((config.currentModule === 'index' && config.currentMethod === 'index') || (config.currentModule === 'user' && config.currentMethod === 'login')) { _tid = sessionStorage.getItem('TID'); if(!_tid) @@ -55,11 +55,6 @@ } sessionStorage.setItem('TID', _tid); } - else if(config.currentModule === 'user' && config.currentMethod === 'login') - { - /* Remove tid at login page */ - sessionStorage.removeItem('TID'); - } $.tabSession = {