1.0.2-alpha.2 • Published 1 year ago
unipoe-utils v1.0.2-alpha.2
优力普前端基础库
使用教程
1.package.json文件添加
"dependencies": {
"unipoe-utils":"git+https://gitlab.unipoe/front/label/qr-code.git"
}
2.执行命令yarn 或 npm i unipoe-utils
内置方法
- object
- DeepClone 深拷贝
- Queue(class) 队列处理类
- Exec 接受一个异步函数,并在本队列中顺序执行
- string
- time
- http
- Http 对axios的进一步封装;
- css
- ReadRootCss 读取全局css变量
- SetRootCss 修改全局css变量
- DelRootCss 删除全局css变量