remove unUsed js code
This commit is contained in:
parent
c88636524e
commit
c891f7e016
@ -16,10 +16,11 @@ import {
|
|||||||
AuditOutlined,
|
AuditOutlined,
|
||||||
BlockOutlined,
|
BlockOutlined,
|
||||||
CloudServerOutlined,
|
CloudServerOutlined,
|
||||||
CodeOutlined, ControlOutlined,
|
CodeOutlined,
|
||||||
|
ControlOutlined,
|
||||||
DashboardOutlined,
|
DashboardOutlined,
|
||||||
DesktopOutlined,
|
DesktopOutlined,
|
||||||
DisconnectOutlined, GoldOutlined,
|
DisconnectOutlined,
|
||||||
IdcardOutlined,
|
IdcardOutlined,
|
||||||
LinkOutlined,
|
LinkOutlined,
|
||||||
LoginOutlined,
|
LoginOutlined,
|
||||||
|
@ -63,7 +63,6 @@ const AssetModal = function ({title, visible, handleOk, handleCancel, confirmLoa
|
|||||||
}
|
}
|
||||||
let [accountTypes, setAccountTypes] = useState(initAccountTypes);
|
let [accountTypes, setAccountTypes] = useState(initAccountTypes);
|
||||||
let [useSSL, setUseSSL] = useState(model['use-ssl']);
|
let [useSSL, setUseSSL] = useState(model['use-ssl']);
|
||||||
let [ignoreCert, setIgnoreCert] = useState(model['ignore-cert']);
|
|
||||||
|
|
||||||
for (let key in model) {
|
for (let key in model) {
|
||||||
if (model.hasOwnProperty(key)) {
|
if (model.hasOwnProperty(key)) {
|
||||||
|
@ -319,7 +319,9 @@ class Job extends Component {
|
|||||||
case "check-asset-status-job":
|
case "check-asset-status-job":
|
||||||
return <Tag color="green">资产状态检测</Tag>;
|
return <Tag color="green">资产状态检测</Tag>;
|
||||||
case "shell-job":
|
case "shell-job":
|
||||||
return <Tag color="volcano">Shell脚本</Tag>
|
return <Tag color="volcano">Shell脚本</Tag>;
|
||||||
|
default:
|
||||||
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user