From ed50e47b44e079bc76419ba3f96f04d964c70610 Mon Sep 17 00:00:00 2001 From: break-wave <654896146@qq.com> Date: Sat, 5 Dec 2020 14:59:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20setCellFormat=20data=20=20=E5=BC=95?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global/api.js b/src/global/api.js index 048689f..625cb59 100644 --- a/src/global/api.js +++ b/src/global/api.js @@ -361,7 +361,7 @@ export function setCellFormat(row, column, attr, value, options = {}) { } // refresh - jfrefreshgrid(data, [{ "row": [row, row], "column": [column, column] }]); + jfrefreshgrid(targetSheetData, [{ "row": [row, row], "column": [column, column] }]); if (success && typeof success === 'function') { success(cellData);