mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-12 19:30:48 +08:00
修复任务管理创建视图 placeholder,更新 npm 包
This commit is contained in:
@@ -10,10 +10,12 @@ const { Link } = Typography;
|
||||
enum TVersion {
|
||||
'develop' = '开发版',
|
||||
'master' = '正式版',
|
||||
'debian' = '正式版'
|
||||
'debian' = '正式版',
|
||||
}
|
||||
|
||||
const About = ({ systemInfo }: { systemInfo: SharedContext['systemInfo'] }) => {
|
||||
const version = TVersion[systemInfo.branch] || '正式版';
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<img
|
||||
@@ -30,7 +32,7 @@ const About = ({ systemInfo }: { systemInfo: SharedContext['systemInfo'] }) => {
|
||||
</span>
|
||||
<Descriptions>
|
||||
<Descriptions.Item label={intl.get('版本')} span={3}>
|
||||
{intl.get(TVersion[systemInfo.branch])} v{systemInfo.version}
|
||||
{intl.get(version)} v{systemInfo.version}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label={intl.get('更新时间')} span={3}>
|
||||
{dayjs(systemInfo.publishTime * 1000).format('YYYY-MM-DD HH:mm')}
|
||||
|
||||
Reference in New Issue
Block a user