[new feature] Button: add business-id prop (#1308)

This commit is contained in:
neverland 2019-02-15 16:37:05 +08:00 committed by GitHub
parent e9cf162bc4
commit a8a3866254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@
| app-parameter | 打开 APP 时,向 APP 传递的参数 | `String` | - |
| lang | 指定返回用户信息的语言zh_CN 简体中文,<br>zh_TW 繁体中文en 英文 | `String` | `en` |
| session-from | 会话来源 | `String` | - |
| business-id | 客服消息子商户 id | `Number` | - |
| send-message-title | 会话内消息卡片标题 | `String` | 当前标题 |
| send-message-path | 会话内消息卡片点击跳转小程序路径 | `String` | 当前分享路径 |
| send-message-img | sendMessageImg | `String` | 截图 |

View File

@ -7,6 +7,7 @@
open-type="{{ openType }}"
hover-class="van-button--active hover-class"
lang="{{ lang }}"
business-id="{{ businessId }}"
session-from="{{ sessionFrom }}"
send-message-title="{{ sendMessageTitle }}"
send-message-path="{{ sendMessagePath }}"

View File

@ -7,6 +7,7 @@ export const button = Behavior({
type: String,
value: 'en'
},
businessId: Number,
sessionFrom: String,
sendMessageTitle: String,
sendMessagePath: String,