@titaui/pc 1.10.83-beta.5 → 1.10.83-beta.6

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.
@@ -121,14 +121,12 @@ var WeChatBtn = function WeChatBtn(props) {
121
121
  */
122
122
 
123
123
  var handleClickWechatBtn = function handleClickWechatBtn() {
124
- console.log("\u540E\u7AEF\u8FD4\u56DE\u6765\u7684id: ".concat(chatId));
125
-
126
124
  if (isWx) {
127
125
  //有群了,判断没在群就先进群再打开群
128
126
  if (chatId !== null && chatId !== 'chatId') {
129
127
  wx.invoke('updateEnterpriseChat', {
130
128
  chatId: chatId,
131
- userIdsToAdd: "".concat(loginUserOpenId)
129
+ userIdsToAdd: "".concat(loginUserOpenId, ";").concat(weChatGroupMember[0], ";").concat(weChatGroupMember[1])
132
130
  }, function (res) {
133
131
  console.log("1.\u4EBA\u5728\u7FA4\uFF0C\u8C03\u7528\u52A0\u4EBA\u63A5\u53E3\u8FD4\u56DE\u4FE1\u606F\uFF1B2.\u4EBA\u4E0D\u5728\u7FA4\uFF0C\u8C03\u7528\u52A0\u4EBA\u63A5\u53E3\u8FD4\u56DE\u4FE1\u606F\uFF1B 3.\u7FA4\u89E3\u6563\u4E86\uFF0C\u8C03\u7528\u52A0\u4EBA\u63A5\u53E3\u8FD4\u56DE\u4FE1\u606F 4.mac\u8C03\u7528\u52A0\u4EBA\u63A5\u53E3\u8FD4\u56DE\u4FE1\u606F ".concat(res.err_msg));
134
132
 
@@ -195,7 +193,6 @@ var WeChatBtn = function WeChatBtn(props) {
195
193
  }, function (res) {
196
194
  if (res.err_msg === 'createChatWithMsg:ok') {
197
195
  if (res.chatId) {
198
- console.log("\u521B\u5EFA\u7FA4\uFF0C\u4F20\u7ED9\u540E\u7AEF\u7684chatid:".concat(res.chatId));
199
196
  (0, _request.rpost)('v1')('chat/add', {
200
197
  objId: id,
201
198
  objType: objType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.83-beta.5",
3
+ "version": "1.10.83-beta.6",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",