When using the paging function of the layui official website as an example, I found that there is no label. Check the console and find that there is an error message: laypage is not a valid module
After looking up information on the Internet, I found a solution, which is to load jquery.js after layui.js is loaded
<script src="/layui/layui.js"></script>
<script src="/layui/lay/modules/jquery.js"></script>
Problem solved, if other modules also have this problem, you can also try this