|
@@ -56,7 +56,7 @@ const TableList: React.FC<{}> = () => {
|
|
width: 220,
|
|
width: 220,
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
render: (text, row)=>{
|
|
render: (text, row)=>{
|
|
- if (row.currentVersion !== row.modelVersion) {
|
|
|
|
|
|
+ if (row.currentVersion < row.modelVersion) {
|
|
return (<div className={styles.red}>{text} :待更新</div>)
|
|
return (<div className={styles.red}>{text} :待更新</div>)
|
|
}
|
|
}
|
|
return (<div>{text}</div>)
|
|
return (<div>{text}</div>)
|