From e51457ef492ae74b77a0298931268b9f14feaa44 Mon Sep 17 00:00:00 2001 From: wbfsa Date: Mon, 3 Aug 2020 00:24:45 +0800 Subject: [PATCH] fix(change sheet): change sheet must setTimeOut --- src/controllers/sheetmanage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/sheetmanage.js b/src/controllers/sheetmanage.js index a5d919d..61fce2c 100644 --- a/src/controllers/sheetmanage.js +++ b/src/controllers/sheetmanage.js @@ -899,12 +899,12 @@ const sheetmanage = { _this.setSheetParam(); _this.showSheet(); - // setTimeout(function () { + setTimeout(function () { _this.restoreCache(); formula.execFunctionGroup(); _this.restoreSheetAll(Store.currentSheetIndex); luckysheetrefreshgrid(); - // }, 1); + }, 1); server.saveParam("shs", null, Store.currentSheetIndex); }