@titaui/pc 1.7.92 → 1.7.96

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.
@@ -22,22 +22,34 @@ if (source === 860) {
22
22
  }
23
23
 
24
24
  var onlineBroadcastData = [{
25
+ hasOnline: true,
26
+ preContent: 'Tita「Learning」 全新上线',
27
+ preHref: 'https://wiki.tita.com/x/doNrAQ',
28
+ isNew: true,
29
+ date: '12/26'
30
+ }, {
31
+ hasOnline: true,
32
+ preContent: '「OKR」支持设置子目标权重',
33
+ preHref: 'https://wiki.tita.com/x/mIFrAQ',
34
+ isNew: true,
35
+ date: '12/18'
36
+ }, {
25
37
  hasOnline: true,
26
38
  preContent: '「OKR 」每周工作小结推送',
27
39
  preHref: 'https://wiki.tita.com/x/F4FrAQ',
28
- isNew: true,
40
+ isNew: false,
29
41
  date: '12/8'
30
42
  }, {
31
43
  hasOnline: true,
32
44
  preContent: '「OKR」新增管理规定,开启全员提醒',
33
45
  preHref: 'https://wiki.tita.com/x/6YBrAQ',
34
- isNew: true,
46
+ isNew: false,
35
47
  date: '12/7'
36
48
  }, {
37
49
  hasOnline: true,
38
50
  preContent: '新增「安全水印」,保护企业隐私',
39
51
  preHref: 'https://wiki.tita.com/x/7YBrAQ',
40
- isNew: true,
52
+ isNew: false,
41
53
  date: '12/1'
42
54
  }, {
43
55
  hasOnline: true,
@@ -90,7 +90,7 @@ var Inform = function Inform(props) {
90
90
  } // 处理合并的消息
91
91
 
92
92
 
93
- var isMessageMerging = [83, 93, 94, 95, 96, 97, 98, 99, 100, 131, 136, 13018, 30362].includes(messageType);
93
+ var isMessageMerging = [83, 94, 95, 96, 97, 98, 99, 100, 131, 136, 13018, 30362].includes(messageType);
94
94
 
95
95
  if (!isMessageMerging) {
96
96
  if (messageType === _constant.informType.details) {
@@ -101,6 +101,7 @@ var Inform = function Inform(props) {
101
101
  return;
102
102
  } else if (objType === 0 && messageType === 93) {
103
103
  (0, _tools.openPage)("".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/messages?messageType=2&tabAppId=1&tabAppType=1&isRead=2&messageSubNav=1"));
104
+ return;
104
105
  } else if (objType === 0) {
105
106
  var str = item.content.match(/\/\/.*?[\"|\']/gi);
106
107
  if (!str) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.7.92",
3
+ "version": "1.7.96",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",