Skip to content

Commit

Permalink
udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyu committed Dec 24, 2024
1 parent ffa1f91 commit 7da4ad7
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions packages/ui/src/ui-component/dialog/AboutDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,28 +60,26 @@ const AboutDialog = ({ show, onCancel }) => {
</DialogTitle>
<DialogContent>
{data && (
<TableContainer component={Paper}>
<Table aria-label='simple table'>
<TableHead>
<TableRow>
<TableCell>当前版本</TableCell>
<TableCell>最新版本</TableCell>
<TableCell>发布时间</TableCell>
</TableRow>
</TableHead>
<TableBody>
<TableRow>
<TableCell>{data.currentVersion}</TableCell>
<TableCell>
<a target='_blank' rel='noreferrer' href={data.html_url}>
{data.name}
</a>
</TableCell>
<TableCell>{moment(data.published_at).fromNow()}</TableCell>
</TableRow>
</TableBody>
</Table>
</TableContainer>
<Table aria-label='simple table'>
<TableHead>
<TableRow>
<TableCell>当前版本</TableCell>
<TableCell>最新版本</TableCell>
<TableCell>发布时间</TableCell>
</TableRow>
</TableHead>
<TableBody>
<TableRow>
<TableCell>{data.currentVersion}</TableCell>
<TableCell>
<a target='_blank' rel='noreferrer' href={data.html_url}>
{data.name}
</a>
</TableCell>
<TableCell>{moment(data.published_at).fromNow()}</TableCell>
</TableRow>
</TableBody>
</Table>
)}
</DialogContent>
</Dialog>
Expand Down

0 comments on commit 7da4ad7

Please sign in to comment.