mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update index_search.html
This commit is contained in:
parent
9d5b9523c2
commit
b765e011a2
@ -107,7 +107,7 @@
|
|||||||
}, function (rawCell, newCell, row, config, currentRow, currentCol, fieldKey) {
|
}, function (rawCell, newCell, row, config, currentRow, currentCol, fieldKey) {
|
||||||
/* 判断并转换单元格数据为对象,以便初始化样式 */
|
/* 判断并转换单元格数据为对象,以便初始化样式 */
|
||||||
typeof rawCell !== 'object' && (rawCell = {v: rawCell});
|
typeof rawCell !== 'object' && (rawCell = {v: rawCell});
|
||||||
rawCell.s = Object.assign(style2, rawCell.s || {});
|
rawCell.s = Object.assign({}, style2, rawCell.s || {});
|
||||||
return (currentRow % 2 === 0) ? newCell : rawCell;
|
return (currentRow % 2 === 0) ? newCell : rawCell;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user