@titaui/pc 1.10.82-beta.8 → 1.10.82-beta.9
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.
|
@@ -119,7 +119,9 @@ var WeChatBtn = function WeChatBtn(props) {
|
|
|
119
119
|
wx.invoke('openExistedChatWithMsg', {
|
|
120
120
|
chatId: chatId
|
|
121
121
|
}, function (res) {
|
|
122
|
-
if (res.err_msg === 'openExistedChatWithMsg:
|
|
122
|
+
if (res.err_msg === 'openExistedChatWithMsg:ok') {
|
|
123
|
+
console.log("打开群成功");
|
|
124
|
+
} else {
|
|
123
125
|
if (isMac) {
|
|
124
126
|
setMacWarnModalVisible(true);
|
|
125
127
|
} else {
|
|
@@ -130,7 +132,7 @@ var WeChatBtn = function WeChatBtn(props) {
|
|
|
130
132
|
if (res.err_msg == 'updateEnterpriseChat:ok') {
|
|
131
133
|
console.log('加入成功');
|
|
132
134
|
} else {
|
|
133
|
-
if (loginUserOpenId
|
|
135
|
+
if (loginUserOpenId !== principalUser.userId) {
|
|
134
136
|
setPrincipalUserModalVisible(true);
|
|
135
137
|
} else {
|
|
136
138
|
setMemberVisible(true);
|
|
@@ -179,6 +181,7 @@ var WeChatBtn = function WeChatBtn(props) {
|
|
|
179
181
|
}
|
|
180
182
|
});
|
|
181
183
|
setCreateWechatVisible(false);
|
|
184
|
+
setPrincipalUserModalVisible(false);
|
|
182
185
|
};
|
|
183
186
|
|
|
184
187
|
var handleKnowMacWarn = function handleKnowMacWarn() {
|