first commit
This commit is contained in:
commit
db5762abd4
687 files changed
+171307
No files matched your search
@@ -0,0 +1,21 @@
|
||||
var e = new Set([
|
||||
`kky_ecs`,
|
||||
`mf_cloud`,
|
||||
`remf_cloud`,
|
||||
`mf_dcim`,
|
||||
`remf_dcim`,
|
||||
`remf_finance`,
|
||||
`remf_finance_dcim`,
|
||||
`remf_finance_common`,
|
||||
`idcsmart_common`,
|
||||
]);
|
||||
function t(t, n) {
|
||||
let r = String(t);
|
||||
if (!/^[1-9]\d{0,9}$/.test(r) || !e.has(n))
|
||||
throw Error(`实例信息无效,请刷新后重试`);
|
||||
return `/remote-console?hostId=${r}&module=${n}`;
|
||||
}
|
||||
function n(e, n) {
|
||||
window.open(t(e, n), `_blank`, `noopener,noreferrer`);
|
||||
}
|
||||
export { n as t };
|
||||
Reference in new issue
Block a user