移动端工具库
使用
安装
npm i -S @easyfe/m-tools
引入
全量引入:
import mTools from "@easyfe/m-tools";
按需引入:
import { uuid, floatHelper, typeHelper } from "@easyfe/m-tools";
依赖库
lodash-es
uuid
nanoid
big.js
dayjs
qs
numeral
帮助类
-
dateHelper
时间处理
-
floatHelper
浮点运算
-
typeHelper
类型帮助
-
uaHelper
ua 头判断
-
validatorHelper
验证器