|
|
|
@ -1,6 +1,7 @@ |
|
|
|
import pako from 'pako' |
|
|
|
import { showloading, hideloading } from '../global/loading'; |
|
|
|
import { luckysheetrefreshgrid, jfrefreshgrid_rhcw } from '../global/refresh'; |
|
|
|
import editor from '../global/editor' |
|
|
|
import { sheetHTML, luckyColor } from './constant'; |
|
|
|
import sheetmanage from './sheetmanage'; |
|
|
|
import menuButton from './menuButton'; |
|
|
|
@ -349,6 +350,7 @@ const server = { |
|
|
|
|
|
|
|
if(index == Store.currentSheetIndex){//更新数据为当前表格数据
|
|
|
|
Store.flowdata = file.data; |
|
|
|
editor.webWorkerFlowDataCache(Store.flowdata);//worker存数据
|
|
|
|
|
|
|
|
//如果更新的单元格有批注
|
|
|
|
if(value != null && value.ps != null){ |
|
|
|
@ -384,6 +386,7 @@ const server = { |
|
|
|
|
|
|
|
if(index == Store.currentSheetIndex){//更新数据为当前表格数据
|
|
|
|
Store.flowdata = file.data; |
|
|
|
editor.webWorkerFlowDataCache(Store.flowdata);//worker存数据
|
|
|
|
|
|
|
|
//如果更新的单元格有批注
|
|
|
|
for(let r = r1; r <= r2; r++){ |
|
|
|
@ -602,6 +605,7 @@ const server = { |
|
|
|
|
|
|
|
if(index == Store.currentSheetIndex){ |
|
|
|
Store.flowdata = data; |
|
|
|
editor.webWorkerFlowDataCache(Store.flowdata);//worker存数据
|
|
|
|
|
|
|
|
Store.config["merge"] = mc; |
|
|
|
Store.config["borderInfo"] = borderInfo; |
|
|
|
@ -652,6 +656,7 @@ const server = { |
|
|
|
|
|
|
|
if(index == Store.currentSheetIndex){ |
|
|
|
Store.flowdata = data; |
|
|
|
editor.webWorkerFlowDataCache(Store.flowdata);//worker存数据
|
|
|
|
|
|
|
|
Store.config["merge"] = mc; |
|
|
|
Store.config["borderInfo"] = borderInfo; |
|
|
|
|