Commit 5e2cb203 authored by Maofei94's avatar Maofei94

perf: 版本记录

parent fcd5ddc5
......@@ -7,7 +7,6 @@ const { Item } = Timeline;
const { TabPane } = Tabs;
const ColConen = () => {
const [tabPosition, setTabPosition] = useState('left');
const a = '1';
return (
<div>
<div className={styles.titlebox}>
......@@ -20,7 +19,7 @@ const ColConen = () => {
style={{ height: 'calc(100vh - 200px)' }}
addIcon={<p>aa</p>}
>
{arr.reverse().map((item, index) => (
{arr.map((item, index) => (
<TabPane tab={item.label} key={item.key}>
{item.content}
</TabPane>
......@@ -39,14 +38,43 @@ const ColConen = () => {
};
const arr = [
{
key: '1',
label: 'v1.0.1 2020-12-18',
content: (
<div className={styles.hr}>
<div className={styles.topBox}>
<div className={styles.topl}>v1.0.1</div>
<div className={styles.topr}>2020-12-18</div>
</div>
<hr />
<h3>移动应用配置</h3>
<ul>
<li>[+] 新增了版本包上传功能</li>
<li>[^] 调整了获取版本包信息</li>
<li>[^] 优化了应用加载内容</li>
</ul>
<h3>登录页面</h3>
<ul>
<li>[^] 调整了登录窗布局</li>
</ul>
<h3>系统日志</h3>
<ul>
<li>[^] 服务日志页面做了优化</li>
<li>[^] 登录日志页面做了优化</li>
<li>[^] 运维日志页面做了优化</li>
</ul>
</div>
),
},
{
key: '0',
label: `v1.0.0 2020-12-18`,
label: `v1.0.0 2020-12-17`,
content: (
<div className={styles.hr}>
<div className={styles.topBox}>
<div className={styles.topl}>v1.0.0</div>
<div className={styles.topr}>2020-12-18</div>
<div className={styles.topr}>2020-12-17</div>
</div>
<hr />
<h3>运维第一个版本记录</h3>
......@@ -63,11 +91,7 @@ const arr = [
</div>
),
},
// {
// key: '1',
// label: '1.0.20201218',
// content: 'aaaa',
// },
// {
// key: '2',
// label: '1.0.20201218',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment