@titaui/pc 1.10.82-beta.11 → 1.10.82-beta.13

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.
@@ -129,9 +129,15 @@ var WeChatBtn = function WeChatBtn(props) {
129
129
  chatId: chatId,
130
130
  userIdsToAdd: loginUserOpenId
131
131
  }, function (res) {
132
+ console.log(chatId);
133
+
132
134
  if (res.err_msg == 'updateEnterpriseChat:ok') {
133
135
  wx.invoke('openExistedChatWithMsg', {
134
136
  chatId: chatId
137
+ }, function (res) {
138
+ if (res.err_msg == 'openExistedChatWithMsg:ok') {
139
+ console.log('打开群成功');
140
+ }
135
141
  });
136
142
  } else {
137
143
  if (loginUserOpenId === principalUser.userId) {
@@ -215,6 +221,7 @@ var WeChatBtn = function WeChatBtn(props) {
215
221
  }
216
222
 
217
223
  if (isWx) {
224
+ console.log(res.Data.obj);
218
225
  setChatId(res.Data.obj);
219
226
  (0, _request.rpost)('v1')('chat/users', {
220
227
  objId: id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.82-beta.11",
3
+ "version": "1.10.82-beta.13",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",