Sunny-117 / js-challenges

✨✨✨ Challenge your JavaScript programming limits step by step

Home Page:https://juejin.cn/column/7244788137410560055

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

根据response渲染table

Sunny-117 opened this issue · 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 }],
                },
            }