1
0
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:
邹景立 2022-04-28 20:15:58 +08:00
parent 872019f0fb
commit a22548f011

@ -102,7 +102,8 @@
// currentRow:当前行索引
// currentCol:当前列索引
// fieldKey:当前字段索引
/* 转换为单元格数据为对象 */
/* 判断并转换单元格数据为对象,以便初始化样式 */
if (typeof oldCell !== 'object') oldCell = {v: oldCell};
oldCell.s = style2;
return (currentRow % 2 === 0) ? newCell : oldCell;