Commit 77c7bddd authored by 邓晓峰's avatar 邓晓峰

fix: 修复路由跳转路径

parent b565e4c2
Pipeline #38846 passed with stages
in 13 minutes 22 seconds
...@@ -12,11 +12,9 @@ export default class Container extends React.Component { ...@@ -12,11 +12,9 @@ export default class Container extends React.Component {
} }
oms(event) { oms(event) {
const omsUrl = [ const omsUrl = `${MaintenanceHost}/${MaintenancePath}`;
`${window.location.protocol}//:`, console.log(omsUrl)
MaintenanceHost,
MaintenancePath,
].join('/');
window.open(omsUrl, '_blank'); window.open(omsUrl, '_blank');
} }
......
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