版权声明:Jack魏 版权所有,欢迎转载 [如有雷同,请联系作者!]. https://blog.csdn.net/WeiHao0240/article/details/86975514
1.直接渲染
{title: '项目创建时间', name: 'proCreateTime', width:50},
2.处理后渲染输出
{title: '项目创建时间', name: 'proCreateTime', width:50, renderer:function(val, item, rowIndex){
var dateee = new Date(val).toJSON();
var date = new Date(+new Date(dateee)+8*3600*1000).toISOString().replace(/T/g,' ').replace(/\.[\d]{3}Z/,'');
return date;
}},