Merge pull request 'dj' (#165) from dj into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/165
This commit is contained in:
@@ -114,7 +114,13 @@ const tableConfig = reactive({
|
||||
label: '类型',
|
||||
align: 'center',
|
||||
showOverflowTooltip: false,
|
||||
currentRender: ({row, index}) => (<Tag dictType={'todo_type'} value={row.targetState}/>)
|
||||
currentRender: ({row, index}) => {
|
||||
if(row.targetState!==null){
|
||||
return (<Tag dictType={'todo_type'} value={row.targetState}/>)
|
||||
}else {
|
||||
return '--'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
prop: 'submitTime',
|
||||
|
||||
Reference in New Issue
Block a user