ehome-taro-utils
v0.0.9
Published
工具库
Downloads
20
Readme
taro通用方法
使用指南
$ npm i ehome-taro-utils or$ cnpm i ehome-taro-utilsor$ yarn add ehome-taro-utils
代码演示
import { callApi, showLoading, hideLoading, getThemeColor } from 'ehome-taro-utils'
文件说明
| 文件 | 说明 | | --- | --- | | callApi.js | 网络请求 | | computeSignature.js | 接口签名 | | getResourceAllocation.js | 获取当前环境信息 | | getThemeColor.js | 获取主题色 | | getUpdateManager.js | 小程序更新 | | regexps.js | 正则 | | showLoading.js | 显示和关闭loading | | verifyLoginStatus.js | 验证是否登录 |