1.0.3 • Published 4 years ago
mytheart v1.0.3
通用的方法库
- getInfoByID 根据身份证号获取相关信息(生日、性别、年龄)
import { getInfoByID } from 'mytheart'
getInfoByID('4111211997xxxxxx11');
// {
// birth: "1997-xx-xx"
// sex: "男"
// age: xx
// }
2.debounce 防抖 3.throttle 节流 4.cookie 管理