获取分钟 小于10前面加0

self.getMinutes() < 10 ? '0' + self.getMinutes() : self.getMinutes();
posted @ 2016-11-02 16:41  郭康勋kawhi  阅读(213)  评论(0编辑  收藏  举报