代码就是在step2到step3的时候,内存暴涨。。。
workbookInitialized (spread) {
console.log('step1', window.performance.memory)
this.spread = spread
xxx
console.log('step2', window.performance.memory)
axios.get('../../ssjson/month_20180610.ssjson').then(
response => {
spread.suspendPaint()
spread.suspendCalcService()
spread.fromJSON(response.data, { doNotRecalculateAfterLoad: true })
console.log('step3', window.performance.memory) |