hlj-share
v0.0.4
Published
hlj-utils
Downloads
13
Readme
提供各种工具类方法
调用方式
//部分方法都可以这样直接调用而且是按需加载的
import { xxx } from 'hlj-share'
//部分模块无法像上面那样调用(因为用到第三方模块无法按需加载),所以需要像下面这样才能按需加载
import cookie from 'hlj-share/Cookie'
//以下带*的表示要像上面这样调用
将各种方法分类放在不同模块下,下面是各种模块的说明
| 模块 | 使用文档链接 | | ------------------ | --------------------------------------------------------- | | Cookie * | cookie 的各种操作 | | Gw * | 网关 | | DataType | 各种数据类型判断 | | Location | 游览器 url 相关 | | Random | 随机数 | | GetSet | 各种设置和获取指 | | Navigator | 游览器 Navigator 相关 | | RegExp | 正则相关 | | QueryString * | query-string 方法 | | Date * | 日期相关 | | VueI18n * | vue 的国际化 | | CSS * | 初始化 CSS,就是 reset 重置一些 css | | Http * | axios 相关 |