From d6770e5832de57e9b26d473d174d3fd3e5b38518 Mon Sep 17 00:00:00 2001 From: cdswyda Date: Fri, 17 Sep 2021 15:55:38 +0800 Subject: [PATCH] fix --- src/controllers/handler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/handler.js b/src/controllers/handler.js index f04bf81..094cafd 100644 --- a/src/controllers/handler.js +++ b/src/controllers/handler.js @@ -5046,13 +5046,13 @@ export default function luckysheetHandler() { //回退 重做 按钮 $("#luckysheet-icon-undo").click(function (event) { - if ($this.hasClass('disabled')) { + if ($(this).hasClass('disabled')) { return; } controlHistory.redo(event); }); $("#luckysheet-icon-redo").click(function (event) { - if ($this.hasClass('disabled')) { + if ($(this).hasClass('disabled')) { return; } controlHistory.undo(event);