1.0.3 • Published 7 years ago

xz-tool v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

tool

工具

用法

import {GET_URL_KEY} from 'xz-tool'

方法

/**
 * GET_URL_KEY (name)
 * 获取url中的参数的值
 * 参数
 * name [string] 参数名
 * 返回值
 * 参数的值
 */
 
 /**
 * wait (time = 20)
 * 定时器
 * 参数 
 * time [number] 时间 默认值20毫秒
 * 返回值
 * 无
 */

/*
 * CREATED_ID (pre = '')
 * 生成唯一的字符串
 * 参数
 * pre [number,string] [非必须] 前缀 [默认值: '']
 * 返回值
 * 随机字符串
 */

/**
 * is_weixin ()
 * 判断是否为微信浏览器
 * @returns {boolean}
 */

 /**
 * roundNum (min, max)
 * 获取随机数
 * @param min
 * @param max
 * @returns {number}
 */
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago