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

fix: 免登参数修改

parent 0085b5d4
Pipeline #84573 waiting for manual action with stages
......@@ -115,9 +115,9 @@
"@wisdom-map/arcgismap": "1.4.0-246",
"@wisdom-map/basemap": "1.1.0-41",
"@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/utils": "0.1.381",
"@wisdom-utils/utils": "0.1.382",
"animate.css": "^4.1.1",
"antd": "4.21.2",
"long": "^5.2.3",
......
......@@ -512,7 +512,10 @@ class Login {
? false
: config.isCache || false;
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;
const hideFeedback =
config.afterSales && typeof config.afterSales === 'string'
......
......@@ -96,7 +96,7 @@ const Login = forwardRef((props, _ref) => {
try {
url =
_.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);
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