我们是导出JSON,我是新增行的时候复制了上一行的JSON,修改整个JSON文件,插入到下一行。
比如
- "0": {
- "0": {
- "style": "__builtInStyle2"
- },
- "1": {
- "value": "2134124",
- "style": "__builtInStyle57",
- 'tag': {}
- },
- "2": {
- "style": "__builtInStyle58"
- },
- "3": {
- "style": "__builtInStyle58"
- },
- "4": {
- "style": "__builtInStyle58"
- },
- "5": {
- "style": "__builtInStyle58"
- },
- "6": {
- "style": "__builtInStyle58"
- },
- "7": {
- "style": "__builtInStyle58"
- },
- "8": {
- "style": "__builtInStyle58"
- },
- "9": {
- "style": "__builtInStyle3"
- }
- },
复制代码
修改成
- "0": {
- "0": {
- "style": "__builtInStyle2"
- },
- "1": {
- "value": "2134124",
- "style": "__builtInStyle57",
- 'tag': {}
- },
- "2": {
- "style": "__builtInStyle58"
- },
- "3": {
- "style": "__builtInStyle58"
- },
- "4": {
- "style": "__builtInStyle58"
- },
- "5": {
- "style": "__builtInStyle58"
- },
- "6": {
- "style": "__builtInStyle58"
- },
- "7": {
- "style": "__builtInStyle58"
- },
- "8": {
- "style": "__builtInStyle58"
- },
- "9": {
- "style": "__builtInStyle3"
- }
- },
- "1": {
- "0": {
- "style": "__builtInStyle2"
- },
- "1": {
- "value": "2134124",
- "style": "__builtInStyle57",
- 'tag': {}
- },
- "2": {
- "style": "__builtInStyle58"
- },
- "3": {
- "style": "__builtInStyle58"
- },
- "4": {
- "style": "__builtInStyle58"
- },
- "5": {
- "style": "__builtInStyle58"
- },
- "6": {
- "style": "__builtInStyle58"
- },
- "7": {
- "style": "__builtInStyle58"
- },
- "8": {
- "style": "__builtInStyle58"
- },
- "9": {
- "style": "__builtInStyle3"
- }
- },
复制代码 |