@titaui/pc 1.11.6 → 1.11.7

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.
@@ -72,7 +72,7 @@ function _default(props) {
72
72
  name: "2"
73
73
  }, /*#__PURE__*/_react["default"].createElement("span", {
74
74
  className: (0, _classnames["default"])("".concat(_precls["default"], "__e-task-node-priority-p2 ").concat(_precls["default"], "__e-task-node-select-priority"))
75
- }), (0, _getLocale.getLocale)("OKR_MyO_E_Butt_Highest")), /*#__PURE__*/_react["default"].createElement(_dropSelector.Item, {
75
+ }), (0, _getLocale.getLocale)("OKR_MyO_E_Butt_High")), /*#__PURE__*/_react["default"].createElement(_dropSelector.Item, {
76
76
  name: "3"
77
77
  }, /*#__PURE__*/_react["default"].createElement("span", {
78
78
  className: (0, _classnames["default"])("".concat(_precls["default"], "__e-task-node-priority-p3 ").concat(_precls["default"], "__e-task-node-select-priority"))
@@ -127,7 +127,7 @@ var WeChatBtn = function WeChatBtn(props) {
127
127
  if (isWx) {
128
128
  //有群了,判断没在群就先进群再打开群
129
129
  if (chatId !== null && chatId !== 'chatId') {
130
- wx.invoke('openExistedChatWithMsg', {
130
+ window.WeixinJSBridge.invoke('openExistedChatWithMsg', {
131
131
  chatId: chatId
132
132
  }, function (res) {
133
133
  if (res.err_msg === 'openExistedChatWithMsg:ok') {
@@ -136,14 +136,14 @@ var WeChatBtn = function WeChatBtn(props) {
136
136
  if (isMac) {
137
137
  setMacWarnModalVisible(true);
138
138
  } else {
139
- wx.invoke('updateEnterpriseChat', {
139
+ window.WeixinJSBridge.invoke('updateEnterpriseChat', {
140
140
  chatId: chatId,
141
141
  userIdsToAdd: loginUserOpenId
142
142
  }, function (res) {
143
143
  console.log(chatId);
144
144
 
145
145
  if (res.err_msg == 'updateEnterpriseChat:ok') {
146
- wx.invoke('openExistedChatWithMsg', {
146
+ window.WeixinJSBridge.invoke('openExistedChatWithMsg', {
147
147
  chatId: chatId
148
148
  }, function (res) {
149
149
  if (res.err_msg == 'openExistedChatWithMsg:ok') {
@@ -173,7 +173,7 @@ var WeChatBtn = function WeChatBtn(props) {
173
173
 
174
174
 
175
175
  var handleCreateGroupChat = function handleCreateGroupChat() {
176
- wx.invoke('createChatWithMsg', {
176
+ window.WeixinJSBridge.invoke('createChatWithMsg', {
177
177
  selectedOpenUserIds: weChatGroupMember,
178
178
  chatName: "\u300C".concat(apply, "\u7FA4\u300D").concat(name),
179
179
  msg: {
@@ -193,7 +193,7 @@ var WeChatBtn = function WeChatBtn(props) {
193
193
  objType: objType,
194
194
  chatId: res.chatId
195
195
  });
196
- wx.invoke('openExistedChatWithMsg', {
196
+ window.WeixinJSBridge.invoke('openExistedChatWithMsg', {
197
197
  chatId: res.chatId
198
198
  });
199
199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.11.6",
3
+ "version": "1.11.7",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",