Commit 156aacbc authored by cellee's avatar cellee

Signed-off-by: cellee <893264950@qq.com>

parent f27c7520
...@@ -47,7 +47,7 @@ const VisitorRecord = (props: any) => { ...@@ -47,7 +47,7 @@ const VisitorRecord = (props: any) => {
{ {
title: 'Unit', title: 'Unit',
dataIndex: 'inviterAddress', dataIndex: 'inviterAddress',
render: (text) => <span>BLK {text}</span>, render: (text: any) => <span>{text}</span>,
}, },
// ["Actions",null, (text: any, record: any) => (<Space size="middle"> <a>Detail</a></Space>)], // ["Actions",null, (text: any, record: any) => (<Space size="middle"> <a>Detail</a></Space>)],
]; ];
......
...@@ -47,7 +47,7 @@ const VisitorRecord = (props: any) => { ...@@ -47,7 +47,7 @@ const VisitorRecord = (props: any) => {
{ {
title: 'Unit', title: 'Unit',
dataIndex: 'inviterAddress', dataIndex: 'inviterAddress',
render: (text) => <span>BLK {text}</span>, render: (text: any) => <span>{text}</span>,
}, },
// ["Actions",null, (text: any, record: any) => (<Space size="middle"> <a>Detail</a></Space>)], // ["Actions",null, (text: any, record: any) => (<Space size="middle"> <a>Detail</a></Space>)],
]; ];
......
...@@ -262,7 +262,7 @@ const ContractContent = (props: any) => { ...@@ -262,7 +262,7 @@ const ContractContent = (props: any) => {
// 文件大小判断 // 文件大小判断
const isLt2M = file.size / 1024 / 1024 < 2; const isLt2M = file.size / 1024 / 1024 < 2;
if (!isLt2M) { if (!isLt2M) {
message.error('Image must smaller than 2MB!'); message.error('File must be less than or equal to 2MB!');
} }
return isLt2M; return isLt2M;
} }
...@@ -379,7 +379,7 @@ const ContractContent = (props: any) => { ...@@ -379,7 +379,7 @@ const ContractContent = (props: any) => {
<RangePicker <RangePicker
locale={locale} locale={locale}
defaultValue={DataSaveDetail ? DataSaveDetail.time : null} defaultValue={DataSaveDetail ? DataSaveDetail.time : null}
disabledDate={disabledDate} // disabledDate={disabledDate} // 时间限制
placeholder={['Effective Date', 'Expiration Date']} placeholder={['Effective Date', 'Expiration Date']}
onChange={changeTime} onChange={changeTime}
/> />
......
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