需新增:添加好友页面,优化各模块页面
This commit is contained in:
@@ -75,7 +75,10 @@
|
||||
|
||||
/** 是否是红包 */
|
||||
const isRedEnvelope = computed(() => {
|
||||
if (quoteMessage.value?.payload?.data) {
|
||||
if (
|
||||
quoteMessage.value?.payload?.data &&
|
||||
quoteMessage.value?.type === 'TIMCustomElem'
|
||||
) {
|
||||
const businessID = JSON?.parse(
|
||||
quoteMessage.value?.payload?.data
|
||||
)?.businessID
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user