mirror of
https://gitee.com/layui/layui.git
synced 2025-12-27 06:35:47 +08:00
修改 docs 示例中的静态模拟数据的路径
This commit is contained in:
@@ -38,7 +38,7 @@ layui.use(function(){
|
||||
// 创建表格实例
|
||||
table.render({
|
||||
elem: '#ID-table-demo-search',
|
||||
url: '{{d.root}}/static/json/table/user.json', // 此处为静态模拟数据,实际使用时需换成真实接口
|
||||
url: '/static/2.8/json/table/user.json', // 此处为静态模拟数据,实际使用时需换成真实接口
|
||||
cols: [[
|
||||
{checkbox: true, fixed: true},
|
||||
{field:'id', title: 'ID', width:80, sort: true, fixed: true},
|
||||
|
||||
Reference in New Issue
Block a user