💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
>[danger] 快速上手 ``` table.render({ elem: '#demo' // 数据表格容器ID ,height: 312 // 高度 ,url: '' // 数据表格接口 ,page: true //开启分页 ,limit: 10 // 每页显示的数据条数 ,limits: [10, 20, 30, 40, 50, 60, 70, 80, 90] // 切换每页数据条数 ,cols: [[ //表头 {field: 'id', title: 'ID', width:80, sort: true, fixed: 'left'} ,{field: 'username', title: '用户名', width:80} ,{field: 'sex', title: '性别', width:80, sort: true} ,{field: 'city', title: '城市', width:80} ,{field: 'sign', title: '签名', width: 177} ,{field: 'experience', title: '积分', width: 80, sort: true} ,{field: 'score', title: '评分', width: 80, sort: true} ,{field: 'classify', title: '职业', width: 80} ,{field: 'wealth', title: '财富', width: 135, sort: true} ]] }); ```