//更新提示弹窗 import React from "react"; import "./updateDialog.css"; import { UpdateInfoProps, UpdateInfoState } from "./interface"; import { Trans } from "react-i18next"; import { updateLog } from "../../utils/readerConfig"; class UpdateDialog extends React.Component { constructor(props: UpdateInfoProps) { super(props); this.state = { downlownLink: "" }; } renderList = (arr: any[]) => { return arr.map((item, index) => { return (
  • {index + 1 + ". "} {item}
  • ); }); }; render() { return (

    What's new about this version

    Version {updateLog.version}

    Date {updateLog.date}

    What's New

      {this.renderList(updateLog.new)}

    What's been fixed

      {this.renderList(updateLog.fix)}
    { this.props.handleUpdateDialog(); }} > Confirm

    Our Website koodo.960960.xyz

    ); } } export default UpdateDialog;