@mpbp/mpbp-api
v1.0.12
Published
```
Downloads
15
Readme
WEEX-API 使用方法
mnpm i @mtfe/weex-api -S
import {
apm, //日志汇报
file,
kaidianbao, //开店宝系统
location,
media,
navigation, //导航
network, //网络
notification,
share,
storage,
system, //系统
ui
} from '@mtfe/weex-api';
api详情
apm
apm.reportAnalytics
打点汇报
kaidianbao
kaidianbao.getMerchantInfo
获取登录商家信息
navigation
navigation.setNavigationTitle
设置页面title
navigation.navigateTo
新起页面跳转
navigation.redirectTo
页面内跳转
network
network.request
网络请求
system
system.getSystemInfo
获取系统信息
storage
storage.setStorage
储存数据
storage.getStorage
获取数据