layui前端页面table表格怎么格式化转换时间?
,{field: ‘members_date’, title: ‘会员到期’, templet:function ( r ) {
return !!r.members_date?layui.util.toDateString(r.members_date, ‘yyyy-MM-dd’):"";
}}
layui前端页面table表格怎么格式化转换时间?
,{field: ‘members_date’, title: ‘会员到期’, templet:function ( r ) {
return !!r.members_date?layui.util.toDateString(r.members_date, ‘yyyy-MM-dd’):"";
}}