Dushusir
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
src/global/api.js
|
|
@ -2946,15 +2946,15 @@ export function setRangeFormat(attr, value, options = {}) { |
|
|
|
result.push(setSingleRangeFormat(attr, value, { range: range[i], order: order })); |
|
|
|
} |
|
|
|
|
|
|
|
let fileData = $.extend(true, [], file.data); |
|
|
|
if(result.some(i => i === 'error')) { |
|
|
|
file.data.length = 0; |
|
|
|
file.data.push(...sheetData); |
|
|
|
file.data.push(...fileData); |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
let fileData = $.extend(true, [], file.data); |
|
|
|
file.data.length = 0; |
|
|
|
file.data.push(...sheetData); |
|
|
|
file.data.push(...fileData); |
|
|
|
|
|
|
|
if(file.index == Store.currentSheetIndex){ |
|
|
|
jfrefreshgrid(fileData, undefined, undefined, true, false); |
|
|
|