data.js
/**
* 解析json-layui时间格式
* @param format
* @returns {
void | string | *}
*/
Date.prototype.format = function (format) //author: meizz
{
var o = {
"M+": this.getMonth() + 1, //month
"d+": this
data.js
/**
* 解析json-layui时间格式
* @param format
* @returns {
void | string | *}
*/
Date.prototype.format = function (format) //author: meizz
{
var o = {
"M+": this.getMonth() + 1, //month
"d+": this