Showing
1 changed file
with
6 additions
and
6 deletions
| @@ -48,8 +48,8 @@ export struct MessageListUI { | @@ -48,8 +48,8 @@ export struct MessageListUI { | ||
| 48 | this.msgData.forEach((item) => { | 48 | this.msgData.forEach((item) => { |
| 49 | if (item.title == "预约消息") { | 49 | if (item.title == "预约消息") { |
| 50 | if (value.subscribeInfo != null) { | 50 | if (value.subscribeInfo != null) { |
| 51 | - if (value.subscribeInfo.title) { | ||
| 52 | - item.desc = value.subscribeInfo.title | 51 | + if (value.subscribeInfo.message) { |
| 52 | + item.desc = value.subscribeInfo.message | ||
| 53 | } | 53 | } |
| 54 | if (value.subscribeInfo.time) { | 54 | if (value.subscribeInfo.time) { |
| 55 | item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.subscribeInfo.time)+"") | 55 | item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.subscribeInfo.time)+"") |
| @@ -63,8 +63,8 @@ export struct MessageListUI { | @@ -63,8 +63,8 @@ export struct MessageListUI { | ||
| 63 | item.unReadCount = value.activeCount | 63 | item.unReadCount = value.activeCount |
| 64 | } | 64 | } |
| 65 | if (value.activeInfo != null) { | 65 | if (value.activeInfo != null) { |
| 66 | - if (value.activeInfo.title) { | ||
| 67 | - item.desc = value.activeInfo.title | 66 | + if (value.activeInfo.message) { |
| 67 | + item.desc = value.activeInfo.message | ||
| 68 | } | 68 | } |
| 69 | if (value.activeInfo.time) { | 69 | if (value.activeInfo.time) { |
| 70 | item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.activeInfo.time) + "") | 70 | item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.activeInfo.time) + "") |
| @@ -72,8 +72,8 @@ export struct MessageListUI { | @@ -72,8 +72,8 @@ export struct MessageListUI { | ||
| 72 | } | 72 | } |
| 73 | }/*else if (item.title == "系统消息") { | 73 | }/*else if (item.title == "系统消息") { |
| 74 | if (value.systemInfo != null) { | 74 | if (value.systemInfo != null) { |
| 75 | - if (value.systemInfo.title) { | ||
| 76 | - item.desc = value.systemInfo.title | 75 | + if (value.systemInfo.message) { |
| 76 | + item.desc = value.systemInfo.message | ||
| 77 | } | 77 | } |
| 78 | if (value.systemInfo.time) { | 78 | if (value.systemInfo.time) { |
| 79 | item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.systemInfo.time) + "") | 79 | item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.systemInfo.time) + "") |
-
Please register or login to post a comment