1.0.2 • Published 2 years ago
common-utils-lhx v1.0.2
时间格式化
import { dateFormat } from 'common-utils-lhx'
// YY-mm-dd HH:MM:SS date为date类型
dateFormat('YY-mm-dd HH:MM:SS', new Date())
图片转换成base64
import { getBase64Image } from 'common-utils-lhx'
手机号掩码
import { maskNumber2 } from 'common-utils-lhx'
获取url参数
import { getQueryParams } from 'common-utils-lhx'