设计模式

This commit is contained in:
2023-06-06 11:31:54 +08:00
parent 28b73075c1
commit ae8ffd19c0
19 changed files with 327 additions and 2 deletions

View File

@@ -157,4 +157,14 @@
PageUtil.toPage(page.getPageNumber(), page.getPageSize(), objects),
objects.size()
);
19.<2E>еĻص<C4BB><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
tableRowClassName({ row, rowIndex }) {
const stylejson = {}
if (row.is_red !== undefined) {
stylejson.background = '#e0838f'
stylejson.color = 'green'
return stylejson
}
}