Merge pull request 'role' (#56) from role into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/56
This commit is contained in:
@@ -49,7 +49,7 @@ import { isVNode } from 'vue'
|
|||||||
if(column && column?.formatter) {
|
if(column && column?.formatter) {
|
||||||
return column.formatter(row, column, value, $index) || '--'
|
return column.formatter(row, column, value, $index) || '--'
|
||||||
}
|
}
|
||||||
return value ? value.toString() : '--'
|
return value !== null && value !== undefined ? value.toString() : '--'
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user