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