摘要: export const dateFormatter = (nows) => { if (!nows) return '' var now = new Date(nows) var year = now.getFullYear() var month = now.getMonth() + 1 month = checkAddZone(month) var date =... 阅读全文
posted @ 2018-04-19 10:30 zph前端 阅读(6767) 评论(0) 推荐(0) 编辑
摘要: import时,文件引入的路径描述不统一,所以保留一种引入风格即可解决。 第一种,我选择统一用第一种 第二种 参考文档:https://blog.csdn.net/tionsu/article/details/78591962 阅读全文
posted @ 2018-04-19 10:09 zph前端 阅读(869) 评论(0) 推荐(0) 编辑