“拆镜状态修改”
This commit is contained in:
@@ -472,8 +472,20 @@ function RemoveInfo() {
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<div style={{ width: '100%', height: '100%', display: 'flex', alignItems: 'center', justifyContent: 'center', color: '#94a3b8', fontSize: 12 }}>
|
||||
{record.splitStatus === 'failed' ? '切割失败' : record.splitStatus === 'pending' ? '等待切割' : '切割中'}
|
||||
<div style={{ width: '100%', height: '100%', display: 'flex', alignItems: 'center', justifyContent: 'center', gap: 6, fontSize: 12 }}>
|
||||
{record.splitStatus === 'failed' ? (
|
||||
<span style={{ color: '#94a3b8' }}>切割失败</span>
|
||||
) : record.splitStatus === 'pending' ? (
|
||||
<>
|
||||
<Spin size="small" style={{ color: '#f59e0b' }} />
|
||||
<span style={{ color: '#f59e0b' }}>切割中</span>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<Spin size="small" style={{ color: '#f59e0b' }} />
|
||||
<span style={{ color: '#f59e0b' }}>切割中</span>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
@@ -489,7 +501,8 @@ function RemoveInfo() {
|
||||
if (splitStatus === 'pending') {
|
||||
return (
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
|
||||
<span style={{ fontSize: 14, color: '#64748b' }}>等待切割</span>
|
||||
<Spin size="small" style={{ color: '#f59e0b' }} />
|
||||
<span style={{ fontSize: 14, color: '#f59e0b' }}>切割中</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user