[improvement] extract padZero utils

This commit is contained in:
陈嘉涵
2019-05-23 19:11:39 +08:00
parent 9e5dd3f5d7
commit d7e5ee40b5
5 changed files with 6 additions and 12 deletions

View File

@@ -1,9 +1,8 @@
import { use, range } from '../utils';
import { use, range, padZero } from '../utils';
import Picker from '../picker';
import { pickerProps } from '../picker/shared';
import {
times,
padZero,
isValidDate,
getTrueValue,
getMonthEndDay