|
|
|
@ -45,7 +45,7 @@ interface PageProps { }
|
|
|
|
|
const InstallExe: FC<PageProps> = ({ }) => {
|
|
|
|
|
const urlParams = useParams();
|
|
|
|
|
|
|
|
|
|
const [listData, setListData] = useState<any[]>([]);
|
|
|
|
|
const [listData, setListData] = useState<any[]>(typeData);
|
|
|
|
|
const [open1, setOpen1] = useState(false); // Gbase
|
|
|
|
|
const [open2, setOpen2] = useState(false); // HGoogleEarth
|
|
|
|
|
const [open3, setOpen3] = useState(false); // MSXML4
|
|
|
|
@ -174,14 +174,6 @@ const InstallExe: FC<PageProps> = ({ }) => {
|
|
|
|
|
message.success(text)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const handleClose = (index: number) => {
|
|
|
|
|
let sysName = localStorage.getItem(`${urlParams?.fileType}`);
|
|
|
|
|
if (sysName) {
|
|
|
|
|
let info = JSON.parse(sysName);
|
|
|
|
|
info.installExe[index].select = false;
|
|
|
|
|
localStorage.setItem(`${urlParams?.fileType}`, JSON.stringify(info));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 取消选中
|
|
|
|
|
const uncheck = (name: any) => {
|
|
|
|
|