From 9bd5b51cf8d2c2f7ce01a7897bc79a564c11b182 Mon Sep 17 00:00:00 2001 From: "CN\\wuwx26" Date: Mon, 4 Jan 2021 14:59:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=BA=90=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/protection.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/controllers/protection.js b/src/controllers/protection.js index 02d0bad..81cebf6 100644 --- a/src/controllers/protection.js +++ b/src/controllers/protection.js @@ -968,6 +968,13 @@ export function checkProtectionLockedRangeList(rangeList, sheetIndex){ return true; } + //EPM-BUDGET-START + let cell = sheetFile.data[rangeList[0].row[0]][rangeList[0].column[0]] + if(cell&& !cell.lo){ + return true; + } + //EPM-BUDGET-END + const _locale = locale(); const local_protection = _locale.protection;