|
|
|
@ -974,7 +974,8 @@ export function checkProtectionLockedRangeList(rangeList, sheetIndex){ |
|
|
|
|
|
|
|
for(let r=r1;r<=r2;r++){ |
|
|
|
for(let c=c1;c<=c2;c++){ |
|
|
|
let isLock = sheetFile.data[r][c].lo === undefined || sheetFile.data[r][c].lo === 1, // 单元格是否锁定
|
|
|
|
const cell = sheetFile.data[r][c] || {} |
|
|
|
let isLock = cell.lo === undefined || cell.lo === 1, // 单元格是否锁定
|
|
|
|
isPass = checkProtectionLockedSqref(r, c , aut, local_protection, true, isLock); |
|
|
|
if(!isPass){ |
|
|
|
return false; |
|
|
|
|