wn-msgmanager
v1.0.1
Published
> 消息订阅管理组件
Downloads
8
Readme
wn-msgmanager
消息订阅管理组件
安装
$ npm i wn-msgmanager
依赖
图标依赖colorUI
使用
构建npm
app.json
"usingComponents": {
"msg-manager": "/miniprogram_npm/wn-msgmanager/index"
}
wxml
<msg-manager></msg-manager>
参数
| 参数 | 说明 | 类型 | 默认值 | | --------- | ------------ | -------------- | ----------------------------------------------------------------------------- | | getConfigStatus | 获取配置开关 | Function | null | | getConfigList | 获取配置列表 | Function | null | | setConfigStatus | 更改配置开关 | Function | null | | setRecord | 新增订阅次数 | Function | null | | params | 请求携带其他参数 | Object | null |