摘要:
xAxis: [{ type: 'category', boundaryGap: false, axisLabel: { textStyle: { color: "rgba(255,255,255,.6)", fontSize: 12, }, interval: 0, // 数据处理 formatt 阅读全文
posted @ 2021-12-21 15:36
卡农的忧伤ろ◆
阅读(165)
评论(0)
推荐(0)
摘要:
/** * 根据共同属性将数据分组 * @param data [数据源] * @param field [字段名] */ const groupingData = (data, filed) => { let map = {}; let dest = []; data.forEach(item = 阅读全文
posted @ 2021-12-21 15:33
卡农的忧伤ろ◆
阅读(357)
评论(0)
推荐(0)
摘要:
/** * 获取当月的日期集合(yyyy-MM-dd) */ function currentMonthDays() { // 获取标准时间 const date = new Date(); // 获取当天日期 const currentDay = date.getDate(); // 获取当前月份 阅读全文
posted @ 2021-12-21 14:15
卡农的忧伤ろ◆
阅读(2334)
评论(0)
推荐(0)
摘要:
/** * 日期格式化 * @param datetime 日期 * @param fmt 格式 * @returns {*} */ function dateFormat(datetime, fmt) { if (parseInt(datetime) == datetime) { if (date 阅读全文
posted @ 2021-12-21 14:13
卡农的忧伤ろ◆
阅读(152)
评论(0)
推荐(0)