Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix: setCellFormat data 引用
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-f committed Dec 5, 2020
1 parent 6d45cf2 commit ed50e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/global/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ed50e47

Please sign in to comment.