vue-chat-im 1.1.21-rc.26 → 1.1.21-rc.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -1
- package/lib/chatIM.common.js +3 -3
- package/lib/chatIM.umd.js +3 -3
- package/lib/chatIM.umd.min.js +3 -3
- package/package.json +1 -1
- package/1.1.21-rc.25.zip +0 -0
package/README.md
CHANGED
|
@@ -59,4 +59,33 @@ im注册了全局变量,可直接使用全局变量打开会话
|
|
|
59
59
|
###### 2.分享:$imShareMsg(url)
|
|
60
60
|
```
|
|
61
61
|
this.$imShareMsg('https://www.xxx.com') // 打开选择用户,分享
|
|
62
|
-
```
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
#### 3.使用initiateGroup
|
|
68
|
+
<font color='red' size=2 >注意:该选择器仅处理选择人员、业务不处理</font>
|
|
69
|
+
<font color='red' size=2 >以下示例:分享调用选择器</font>
|
|
70
|
+
```
|
|
71
|
+
<initiateGroup
|
|
72
|
+
title="立即分享"
|
|
73
|
+
:orgstructure="['friend', 'group', 'recent', 'getAllOrg']"
|
|
74
|
+
:isyourSelf="false"
|
|
75
|
+
:forward="true"
|
|
76
|
+
@determine="determine"
|
|
77
|
+
@closeCreateChatComponent=“closeCreateChatComponent”
|
|
78
|
+
></initiateGroup>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### Props
|
|
82
|
+
| params | Description | type | default |
|
|
83
|
+
| -------- | ---------------- | ------- | ------- |
|
|
84
|
+
| title | 选择器title | Stirng | 无 |
|
|
85
|
+
| orgstructure | 选择器列表展示顺序 | Array | ["friend", "getAllOrg"] |
|
|
86
|
+
| isyourSelf | 是否包含自己 | Boolean | true |
|
|
87
|
+
| forward | 是否为转发 | Boolean | false |
|
|
88
|
+
| determine | 确认回调 | Function | 无 |
|
|
89
|
+
| closeCreateChatComponent | 取消回调 | Function | 无 |
|
|
90
|
+
|
|
91
|
+
#### Props
|