|
@@ -276,15 +276,6 @@ export default {
|
276
|
276
|
this.rowspan = ${this.group[i].length},
|
277
|
277
|
this.colspan = 1
|
278
|
278
|
}`
|
279
|
|
- } else if (i === this.group.length - 1) {
|
280
|
|
- this.statement +=
|
281
|
|
- `else if(this.rowIndex === ${this._sum(i)}){
|
282
|
|
- this.rowspan = ${this.group[i].length},
|
283
|
|
- this.colspan = 1
|
284
|
|
- }else {
|
285
|
|
- this.rowspan = 0,
|
286
|
|
- this.colspan = 0
|
287
|
|
- }`
|
288
|
279
|
} else {
|
289
|
280
|
this.statement +=
|
290
|
281
|
`else if(this.rowIndex === ${this._sum(i)}){
|
|
@@ -292,6 +283,13 @@ export default {
|
292
|
283
|
this.colspan = 1
|
293
|
284
|
}`
|
294
|
285
|
}
|
|
286
|
+ if (i === this.group.length - 1) {
|
|
287
|
+ this.statement +=
|
|
288
|
+ `else {
|
|
289
|
+ this.rowspan = 0,
|
|
290
|
+ this.colspan = 0
|
|
291
|
+ }`
|
|
292
|
+ }
|
295
|
293
|
}
|
296
|
294
|
|
297
|
295
|
this.func = eval(`(function() {${this.statement}})`)
|