Sunny-117/js-challenges

根据response渲染table

Sunny-117 opened this issue · 0 comments

response: {
                data: [
                    ["a", "b", "c", "d", "e"],
                    [1, 2, 3, 4, 5],
                    [6, 7, 8, 9, 10],// index=row+1, 
                    [6, 7, 8, 9, 10],// index=row+1, 
                ],
                control: {
                    color: [{ row: 2 }],
                    fold: [{ from: 1, to: 2 }],
                },
            }