本帖最后由 jasonleeoffice 于 2018-12-22 18:31 编辑
{"version":"11.1.0","showHorizontalScrollbar":false,"showVerticalScrollbar":false,"scrollbarMaxAlign":true,"tabStripVisible":false,"tabNavigationVisible":false,"sheets":{"Sheet1":{"name":"Sheet1","rowCount":8,"columnCount":10,"activeRow":2,"activeCol":3,"theme":"Office","data":{"dataTable":{"2":{"0":{"value":0,"formula":"SUM(A1,A2)"},"1":{"value":0,"style":{"hAlign":1,"vAlign":0,"themeFont":"Body","formatter":"@","imeMode":1},"formula":"SUM(B1,B2)"}},"3":{"0":{"value":0,"formula":"A1"},"1":{"value":0,"formula":"B1"}},"4":{"0":{"value":0,"formula":"A2"},"1":{"value":0,"style":{"hAlign":1,"vAlign":0,"themeFont":"Body","formatter":"@","imeMode":1},"formula":"B2"}},"5":{"0":{"value":0,"formula":"A3"},"1":{"value":0,"style":{"hAlign":1,"vAlign":0,"themeFont":"Body","formatter":"@","imeMode":1},"formula":"B3"}}},"defaultDataNode":{"style":{"hAlign":1,"formatter":"@"}}},"rowHeaderData":{"defaultDataNode":{"style":{"themeFont":"Body"}}},"colHeaderData":{"defaultDataNode":{"style":{"themeFont":"Body"}}},"spans":[{"row":2,"rowCount":4,"col":3,"colCount":3}],"selections":{"0":{"row":2,"rowCount":4,"col":3,"colCount":3},"length":1},"index":0}},"customFunctions":{"ROUND":{"name":"ROUND","minArgs":0,"maxArgs":0,"typeName":"mynamespace.MyFunction"}}}
我在本地测试没问题,部署到本机上就出问题了
spread.fromJSON(JSON.parse(template.JsonData)); 这里出错了
|
|