需新增:添加好友页面,优化各模块页面

This commit is contained in:
cbb
2026-01-22 17:04:43 +08:00
parent 57fec30165
commit 571e91b01c
17 changed files with 223 additions and 87 deletions

View File

@@ -316,7 +316,10 @@
/** 是否红包 */
const isRedEnvelope = (item: any) => {
if (item.messageBody[0]?.payload?.data) {
if (
item.messageBody[0]?.payload?.data &&
item.messageBody[0]?.type === 'TIMCustomElem'
) {
const businessID = JSON?.parse(
item.messageBody[0]?.payload?.data
)?.businessID