陈博文 3 years ago
parent 795a06679e
commit 4d0ebe7503

@ -12,11 +12,11 @@ const Header = ({ ...props }) => {
const res = await Fetch('/openi/localManager/isOpen'); const res = await Fetch('/openi/localManager/isOpen');
if (res.result === 'success') { if (res.result === 'success') {
document.title = '管理基础设施'; document.title = '管理基础设施';
// if (!res?.data?.[0]) { if (!res?.data?.[0]) {
// message.warn('当前本地管理终端未开通,已为你跳转至终端界面!'); message.warn('当前本地管理终端未开通,已为你跳转至终端界面!');
// history.replace('/terminal'); history.replace('/terminal');
// return; return;
// } }
} }
}; };

Loading…
Cancel
Save