Commit e0b1644c authored by 杨思琦's avatar 杨思琦

fix: 免登参数修改

parent 0085b5d4
Pipeline #84573 waiting for manual action with stages
...@@ -115,9 +115,9 @@ ...@@ -115,9 +115,9 @@
"@wisdom-map/arcgismap": "1.4.0-246", "@wisdom-map/arcgismap": "1.4.0-246",
"@wisdom-map/basemap": "1.1.0-41", "@wisdom-map/basemap": "1.1.0-41",
"@wisdom-map/util": "^1.0.28-0", "@wisdom-map/util": "^1.0.28-0",
"@wisdom-utils/components": "0.1.341", "@wisdom-utils/components": "0.1.342",
"@wisdom-utils/runtime": "0.0.48", "@wisdom-utils/runtime": "0.0.48",
"@wisdom-utils/utils": "0.1.381", "@wisdom-utils/utils": "0.1.382",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"antd": "4.21.2", "antd": "4.21.2",
"long": "^5.2.3", "long": "^5.2.3",
......
...@@ -512,7 +512,10 @@ class Login { ...@@ -512,7 +512,10 @@ class Login {
? false ? false
: config.isCache || false; : config.isCache || false;
const redirect = params.getParams('redirect') ? params.getParams('redirect') : ''; const redirect = params.getParams('redirect') ? params.getParams('redirect') : '';
if (config.productType === 'civweb4' || (redirect.indexOf && redirect.indexOf('skipHome=true') > -1)) if (
config.productType === 'civweb4' ||
(redirect.indexOf && (redirect.indexOf('skipHome=true') > -1 || redirect.indexOf('hideTitle=true') > -1))
)
window.qiankunIsCache = false; window.qiankunIsCache = false;
const hideFeedback = const hideFeedback =
config.afterSales && typeof config.afterSales === 'string' config.afterSales && typeof config.afterSales === 'string'
......
...@@ -96,7 +96,7 @@ const Login = forwardRef((props, _ref) => { ...@@ -96,7 +96,7 @@ const Login = forwardRef((props, _ref) => {
try { try {
url = url =
_.isString(redirect) && redirect.replace(new RegExp(/ /g), '').length > 0 _.isString(redirect) && redirect.replace(new RegExp(/ /g), '').length > 0
? redirect.replace('&skipHome=true', '') ? redirect.replace('&skipHome=true', '').replace('&hideTitle=true', '')
: ''; : '';
const param = JSON.parse(jumpParam); const param = JSON.parse(jumpParam);
if (param) window.sessionStorage.setItem('routerParams', JSON.stringify(param)); if (param) window.sessionStorage.setItem('routerParams', JSON.stringify(param));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment