如何判断layui 的table 中数据是否为空

2025-04-08 15:44:46
推荐回答(1个)
回答1:

List result = select xxx from xxx where xxx = xxx;
return result.size() > 0 ? result : null
然后前台判断下