new Date().toLocaleString('chinese',{hour12:false}) 在浏览器和ee'ui eeui中不一样 例如浏览器中正常年月日时分秒,24小时制 eeui中小时是错的
内置appboard/common.js有个方法formatDate可以去时间年月日, 可以试试this.formatDate("Y-m-d H:i:s", Math.round(new Date().getTime()/1000))
appboard/common.js
formatDate
this.formatDate("Y-m-d H:i:s", Math.round(new Date().getTime()/1000))