Commit 11290ba1 authored by Xuguangxing's avatar Xuguangxing

feat: 处理自由容器跳转链接

parent 0637fa98
...@@ -3,11 +3,11 @@ const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'https:'; ...@@ -3,11 +3,11 @@ const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'https:';
const hostMap = { const hostMap = {
apiHost: `${protocol}//localhost:7002`, apiHost: `${protocol}//localhost:7002`,
talosHost: `${protocol}//talos-sc.liangkebang.net`, talosHost: `${protocol}//talos-yxm.liangkebang.net`,
kdspHost: `${protocol}//kdsp-api-sc.liangkebang.net`, kdspHost: `${protocol}//kdsp-api-yxm.liangkebang.net`,
shenceUrl: `${protocol}//bn.xyqb.com/sa?project=default`, shenceUrl: `${protocol}//bn.xyqb.com/sa?project=default`,
mallHost: `${protocol}//mall-sc.liangkebang.net`, mallHost: `${protocol}//mall-yxm.liangkebang.net`,
xyqbH5Host: `${protocol}//mapi-sc.liangkebang.net`, xyqbH5Host: `${protocol}//mapi-yxm.liangkebang.net`,
test: true, test: true,
yxmTenantId: 560761, yxmTenantId: 560761,
appIdMap: { appIdMap: {
......
...@@ -50,7 +50,7 @@ export default class FreedomContainer extends Mixins(TransformStyleMixin, SaMixi ...@@ -50,7 +50,7 @@ export default class FreedomContainer extends Mixins(TransformStyleMixin, SaMixi
paramsStr += `&${item}=${params[item]}`; paramsStr += `&${item}=${params[item]}`;
}); });
const targetUrl = `${url.split('?')[0]}?${paramsStr.slice(1)}`; const targetUrl = `${url.split('?')[0]}?${paramsStr.slice(1)}`;
locationHrefPatchNoHandleParams(targetUrl) locationHrefPatchNoHandleParams(targetUrl);
return; return;
} }
if (needLogin) { if (needLogin) {
......
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