Commit cb0faf13 authored by 周宏民's avatar 周宏民

fix: 修改跳转 不成功bug

parent 4b9afae3
Pipeline #93823 waiting for manual action with stages
......@@ -27,7 +27,9 @@ const tipStyleMap = {
},
};
const IntegratedSwitch = props => {
const integratedConfig = props.integratedConfig?.toObject ? props.integratedConfig.toObject() : props.integratedConfig || {}
const integratedConfig = props.integratedConfig?.toObject
? props.integratedConfig.toObject()
: props.integratedConfig || {};
const timer = useRef(null);
const timer3 = useRef(null);
const progressRef = useRef(0);
......@@ -154,8 +156,9 @@ const IntegratedSwitch = props => {
}
}
} else if (item.subType === '内链') {
const { pathname } = window.location;
const cli = item.client;
if (item.client === props.global.client) {
if (item.client === props.global.client && pathname.indexOf('/civbase/thirdParty') === -1) {
if (item.url) {
goToPath(item.url);
return;
......
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