`
a = [
{ linesIndex: 1,words: '我们1',start: 18},
{ linesIndex: 0,words: '我们0',start: 12},
{ linesIndex: 2,words: '我们2',start: 23},
{ linesIndex: 2,words: '我们2',start: 18},
{ linesIndex: 4,words: '我们4',start: 23},
{ linesIndex: 0,words: '我们0',start: 27},
{ linesIndex: 1,words: '我们1',start: 12},
{ linesIndex: 1,words: '我们1',start: 10}
]
`
转为
`
b = [
[
{ linesIndex: 0,words: '我们0',start: 12},
{ linesIndex: 0,words: '我们0',start: 27}
],
[
{ linesIndex: 1,words: '我们1',start: 10},
{ linesIndex: 1,words: '我们1',start: 12},
{ linesIndex: 1,words: '我们1',start: 18}
],
[
{ linesIndex: 2,words: '我们2',start: 18},
{ linesIndex: 2,words: '我们2',start: 23},
],
[],
[
{ linesIndex: 4,words: '我们4',start: 23},
],
]
`