- 博客(2)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 vue 时间戳转年月日时分秒
date (isoString) { let date = new Date(isoString) return [[date.getFullYear(), date.getMonth() + 1, date.getDate()].join(‘-’), [date.getHours(), date.getMinutes(), date.getSeconds()].join(‘:’) ].join().replace(/(?=\b\d\b)/g, ‘0’) }
2022-12-21 16:45:55
402
转载 js获取url参数
获取url传递参数 function getparms(){ var url = location.search; var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr(1); strs = str.split("&"); for (var i = 0; i < strs.l...
2019-01-02 17:13:24
300
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人