Commit 9b2ec7ac by zhaochengxiang

模型增加版本

parent 236e9e65
...@@ -293,7 +293,7 @@ const AssetAction = (props) => { ...@@ -293,7 +293,7 @@ const AssetAction = (props) => {
<Descriptions column={1}> <Descriptions column={1}>
{ {
(assets.currentPath||'')!=='' && <Descriptions.Item (assets.currentPath||'')!=='' && <Descriptions.Item
label={<div className='title-text' style={{ textAlign: 'right', width: 60 }}>路径</div>} label={<div className='title-text' style={{ textAlign: 'right', width: 60 }}>资产路径</div>}
style={{ paddingBottom: 15 }} style={{ paddingBottom: 15 }}
> >
<a onClick={()=>{jumpToPath();}}> <a onClick={()=>{jumpToPath();}}>
...@@ -301,7 +301,7 @@ const AssetAction = (props) => { ...@@ -301,7 +301,7 @@ const AssetAction = (props) => {
</a> </a>
</Descriptions.Item> </Descriptions.Item>
} }
<Descriptions.Item label={<div className='title-text' style={{ textAlign: 'right', width: 60 }}>标签</div>} style={{ paddingBottom: 0 }}> <Descriptions.Item label={<div className='title-text' style={{ textAlign: 'right', width: 60 }}>资产标签</div>} style={{ paddingBottom: 0 }}>
<AppContext.Consumer> <AppContext.Consumer>
{ {
value => { value => {
......
...@@ -212,14 +212,14 @@ const ModelTable = (props) => { ...@@ -212,14 +212,14 @@ const ModelTable = (props) => {
sortDirections: ['ascend', 'descend'], sortDirections: ['ascend', 'descend'],
}, },
{ {
title: '最近修改时间', title: '版本号',
dataIndex: 'modifiedTs', dataIndex: 'modifiedTs',
width: 170, width: 170,
ellipsis: true, ellipsis: true,
sorter: true, sorter: true,
sortDirections: ['ascend', 'descend'], sortDirections: ['ascend', 'descend'],
render: (_,record) => { render: (_,record) => {
return formatDate(record.modifiedTs); return `V_${formatDate(record.modifiedTs)}`;
} }
}, },
// { // {
......
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