异步获取json数据渲染时,日期时间无法正确回显(回显了时间戳)
- 修改前
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200603163216488.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0pZMjAxODA0MDc=,size_16,color_FFFFFF,t_70)
- 修改后
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200603163447917.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0pZMjAxODA0MDc=,size_16,color_FFFFFF,t_70)
- 方法
HTML定义
<div class="layui-col-md6 layui-col-md-offset2" style="margin-top: 30px;opacity: 60%">
<table class="layui-hide" id="test"></table>
</div>
JS定义
<script>
layui.use('table', function(){
var table = layui.table;
table.render({
elem: '#test'
,method: