pine-lte
TypeScript icon, indicating that this package has built-in type declarations

0.0.1011 • Public • Published

pine lte

Project setup

npm install pine-lte

##常用方法

补全两位数         fillNumber(1)
判断是否是JSON对象 isObject
数组去重           arrayToOnly
JSON转get数据      jsonToGetData
get转json数据      getDataToJSON
获取随机数         random
设置有位数随机数    randomText

##axios 请求二次封装

    request({
        url: '/oauth/token',
        type: 'post',
        loading: '登录中...',
        showMessage: true,
        prefix: '/auth',
    })

Package Sidebar

Install

npm i pine-lte

Weekly Downloads

1

Version

0.0.1011

License

ISC

Unpacked Size

118 kB

Total Files

8

Last publish

Collaborators

  • songrenshuai