修改 docs 示例中的静态模拟数据的路径

This commit is contained in:
贤心
2023-05-10 12:56:43 +08:00
parent b46186169e
commit d5bb8cf413
17 changed files with 21 additions and 21 deletions

View File

@@ -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},