初始化加载util (非独立模块) layui.use(['util',...],function(){ util = layui.util; })
<script type="text/html" id="feedbackTime"> {{# return layui.util.toDateString(d.feedbackTime, 'yyyy-MM-dd HH:mm:ss') }} </script>
初始化加载util (非独立模块) layui.use(['util',...],function(){ util = layui.util; })
<script type="text/html" id="feedbackTime"> {{# return layui.util.toDateString(d.feedbackTime, 'yyyy-MM-dd HH:mm:ss') }} </script>
转载于:https://my.oschina.net/u/3933416/blog/3043127