From 26bef655c0946bba44201e0ff0c9897c3de2ca73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=9C=E7=8C=AB=E5=AD=90neko?= <815743831@qq.com> Date: Fri, 19 Nov 2021 16:02:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9C=A8=E7=A6=81?= =?UTF-8?q?=E6=AD=A2=E7=BC=96=E8=BE=91=E4=B8=8B=EF=BC=8C=E4=BB=8D=E7=84=B6?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E6=8B=96=E5=8A=A8=E8=A1=8C=E9=AB=98=E5=88=97?= =?UTF-8?q?=E5=AE=BD=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/rowColumnOperation.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/controllers/rowColumnOperation.js b/src/controllers/rowColumnOperation.js index c091f69..59c4af5 100644 --- a/src/controllers/rowColumnOperation.js +++ b/src/controllers/rowColumnOperation.js @@ -912,6 +912,10 @@ export function rowColumnOperationInitial(){ //表格行标题 改变行高按钮 $("#luckysheet-rows-change-size").mousedown(function (event) { + // *如果禁止前台编辑,则中止下一步操作 + if (!checkIsAllowEdit()) { + return + } //有批注在编辑时 luckysheetPostil.removeActivePs(); @@ -956,6 +960,10 @@ export function rowColumnOperationInitial(){ //表格列标题 改变列宽按钮 $("#luckysheet-cols-change-size").mousedown(function (event) { + // *如果禁止前台编辑,则中止下一步操作 + if (!checkIsAllowEdit()) { + return + } //有批注在编辑时 luckysheetPostil.removeActivePs();