min-bridge
v0.0.20
Published
h5 for app
Downloads
6
Maintainers
Readme
min-bridge
app-h5交互
安装
npm install min-bridge
已有组件列表:
- mValidate 常用正则校验
- mFormat 常用过滤器 cookie等
- mBridge app客户端通讯方法
- mEvents 事件绑定
- mLogs 日志上报
- mScript 动态js引入封装
- mFetch 接口请求
版本更新说明:
0.0.19 发布日期 2018-03-19 mLogs - 模块修改,只有线上环境才上报数据,各项目key的更改, mBridge 扩展,支持微信环境,title的修改,
0.0.18 发布日期 2018-02-23 Validate - MOBILE_REG、NAME_REG 按需求修改正则,
0.0.17 发布日期 2018-02-07 Format - date 按需求修改,默认不转为东八区时间,只在指定参数后转换
0.0.16 发布日期 2018-02-07 修复Format - date 0.0.15版本的bug
0.0.15 发布日期 2018-02-07 1、 升级 Format - date 方法合并处理(getLocalTime)支持的功能,即添加时区转换 2、getLocalTime 删除该方法,与date 方法合并
0.0.14 1、 getLocalTime 方法函数做兼容处理优化,解决部分时区转换出现bug,不正确的问题
0.0.13 1、更新 mFetch 请求发起时当前时间的获取方式,改为转换成东8区 2、mFormat 添加 getLocalTime 方法函数,用于时间转换
0.0.6 编译 object.assign不转换问题修复