- 博客(3)
- 收藏
- 关注
原创 layui制作二维码
layui制作二维码 首先下载layui扩展包,地址https://gitee.com/buersoft/layui-qrcode 然后需要在前端页面引用该js <script src="static/layuiExt/qrcode.js"></script> layui生成二维码的扩展进阶用法 指定二维码的生成方式: 可以在调用函数的同时输入想要的二维码生成方式(table/canvas)。 //使用table生成 $('#qrcode').qrcode({ render
2021-07-24 09:38:36
4479
2
原创 layui隐藏列
layui隐藏列 我们需要数据库一列数据 且又不需要将该列数据展示在前端页面上时 在layui2.4版本以前我们可以用layui的数据表格的done参数 代码片. cols: [[ //表头 {field: 'select', width: 50, type: 'checkbox', fixed: 'left'} , {field: 'id', title: 'ID', width: 100, sort: true, fixed: 'lef
2021-07-24 09:26:58
1215
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅