js
Holo_Sai5420
这个作者很懒,什么都没留下…
展开
-
js日期格式转换
var date=new Date;var year=date.getFullYear();var month=date.getMonth()+1;month =(month<10 ? "0"+month:month);var mydate = (year.toString()+"-"+month.toString());mydate = 2018-07 let ym...原创 2018-07-17 14:54:03 · 190 阅读 · 0 评论 -
echart传递id
option.yAxis[0].data.push(JSON.parse("{\"value\":\"" + data.msg.data[i].xName + "\", \"id\":\"" + data.msg.data[i].xAxis + "\"}")); var road = roads[params.dataIndex].xAxis;原创 2018-08-13 17:12:42 · 1272 阅读 · 0 评论