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 {
}
oms(event) {
const omsUrl = [
`${window.location.protocol}//:`,
MaintenanceHost,
MaintenancePath,
].join('/');
const omsUrl = `${MaintenanceHost}/${MaintenancePath}`;
console.log(omsUrl)
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