whyuzeim 1.0.20 → 1.0.22

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.
@@ -68,11 +68,11 @@ var CustomConversationItem = function CustomConversationItem(props) {
68
68
  var _res$data$cvs$convers;
69
69
  setAvatar(res.data[cvs.conversationId].avatarurl);
70
70
  setName(res.data[cvs.conversationId].nickname);
71
- if ((_res$data$cvs$convers = res.data[cvs.conversationId]) !== null && _res$data$cvs$convers !== void 0 && _res$data$cvs$convers.exe) {
71
+ if ((_res$data$cvs$convers = res.data[cvs.conversationId]) !== null && _res$data$cvs$convers !== void 0 && _res$data$cvs$convers.ext) {
72
72
  var _res$data$cvs$convers2;
73
- var customObj = JSON.parse((_res$data$cvs$convers2 = res.data[cvs.conversationId]) === null || _res$data$cvs$convers2 === void 0 ? void 0 : _res$data$cvs$convers2.exe);
73
+ var customObj = JSON.parse((_res$data$cvs$convers2 = res.data[cvs.conversationId]) === null || _res$data$cvs$convers2 === void 0 ? void 0 : _res$data$cvs$convers2.ext);
74
74
  // 假设有一个字段 shouldShowInList 来判断是否展示
75
- setCanShow((customObj === null || customObj === void 0 ? void 0 : customObj.certification) !== 2);
75
+ setCanShow((customObj === null || customObj === void 0 ? void 0 : customObj.certification) !== "2");
76
76
  }
77
77
  var tempUserInfo = agoraChatUikit.rootStore.addressStore.appUsersInfo[cvs.conversationId];
78
78
  agoraChatUikit.rootStore.addressStore.appUsersInfo[cvs.conversationId] = _objectSpread(_objectSpread({}, tempUserInfo || {}), {}, {
@@ -84,10 +84,10 @@ var CustomConversationItem = function CustomConversationItem(props) {
84
84
  } else {
85
85
  setAvatar(userInfo.avatarurl);
86
86
  setName(userInfo.name);
87
- if (userInfo !== null && userInfo !== void 0 && userInfo.exe) {
88
- var customObj = JSON.parse(userInfo.exe);
87
+ if (userInfo !== null && userInfo !== void 0 && userInfo.ext) {
88
+ var customObj = JSON.parse(userInfo.ext);
89
89
  // 假设有一个字段 shouldShowInList 来判断是否展示
90
- setCanShow((customObj === null || customObj === void 0 ? void 0 : customObj.certification) !== 2);
90
+ setCanShow((customObj === null || customObj === void 0 ? void 0 : customObj.certification) !== "2");
91
91
  }
92
92
  }
93
93
  }
@@ -66,11 +66,11 @@ var CustomConversationItem = function CustomConversationItem(props) {
66
66
  var _res$data$cvs$convers;
67
67
  setAvatar(res.data[cvs.conversationId].avatarurl);
68
68
  setName(res.data[cvs.conversationId].nickname);
69
- if ((_res$data$cvs$convers = res.data[cvs.conversationId]) !== null && _res$data$cvs$convers !== void 0 && _res$data$cvs$convers.exe) {
69
+ if ((_res$data$cvs$convers = res.data[cvs.conversationId]) !== null && _res$data$cvs$convers !== void 0 && _res$data$cvs$convers.ext) {
70
70
  var _res$data$cvs$convers2;
71
- var customObj = JSON.parse((_res$data$cvs$convers2 = res.data[cvs.conversationId]) === null || _res$data$cvs$convers2 === void 0 ? void 0 : _res$data$cvs$convers2.exe);
71
+ var customObj = JSON.parse((_res$data$cvs$convers2 = res.data[cvs.conversationId]) === null || _res$data$cvs$convers2 === void 0 ? void 0 : _res$data$cvs$convers2.ext);
72
72
  // 假设有一个字段 shouldShowInList 来判断是否展示
73
- setCanShow((customObj === null || customObj === void 0 ? void 0 : customObj.certification) !== 2);
73
+ setCanShow((customObj === null || customObj === void 0 ? void 0 : customObj.certification) !== "2");
74
74
  }
75
75
  var tempUserInfo = rootStore.addressStore.appUsersInfo[cvs.conversationId];
76
76
  rootStore.addressStore.appUsersInfo[cvs.conversationId] = _objectSpread(_objectSpread({}, tempUserInfo || {}), {}, {
@@ -82,10 +82,10 @@ var CustomConversationItem = function CustomConversationItem(props) {
82
82
  } else {
83
83
  setAvatar(userInfo.avatarurl);
84
84
  setName(userInfo.name);
85
- if (userInfo !== null && userInfo !== void 0 && userInfo.exe) {
86
- var customObj = JSON.parse(userInfo.exe);
85
+ if (userInfo !== null && userInfo !== void 0 && userInfo.ext) {
86
+ var customObj = JSON.parse(userInfo.ext);
87
87
  // 假设有一个字段 shouldShowInList 来判断是否展示
88
- setCanShow((customObj === null || customObj === void 0 ? void 0 : customObj.certification) !== 2);
88
+ setCanShow((customObj === null || customObj === void 0 ? void 0 : customObj.certification) !== "2");
89
89
  }
90
90
  }
91
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whyuzeim",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "im componenets",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",