- 博客(1)
- 收藏
- 关注
原创 小程序new Date().format()不能用,自己手写的
/** * 获取当前时间(格式为('yyyy-MM-dd HH:mm:ss')) */ getFormatTime: function (e) { let time = new Date(), year = time.getFullYear() + '', month = time.getMonth() + '', date = time.getDate() + '', hours = time.getHours() + '',
2020-06-02 19:45:35 1070
空空如也
HTML中组件被卸载后还可以调用到JS方法
2023-02-08
TA创建的收藏夹 TA关注的收藏夹
TA关注的人