wip:(重构接口实现方式3)

This commit is contained in:
zhengxinonly
2022-05-10 23:43:33 +08:00
parent 7e6aecc99b
commit 0d25b479e5
7 changed files with 117 additions and 164 deletions
+2 -2
View File
@@ -95,9 +95,9 @@
]
table.render({
parseData: parserTableData, /* 服务器返回的数据格式与layui 不一致,需要进行转化*/
parseData: parserTableData, /* 服务器返回的数据格式与 layui 不一致,需要进行转化*/
elem: '#tables',
url: '/api/v1/file/photos',
url: '/api/v1/file/photo',
page: true,
cols: get_columns(),
skin: 'line',