<template>
<group-chat-card :group-ids="groupChatList" type="card"> </group-chat-card>
</template>
<script>
export default {
data() {
return {
groupChatList: 'sy3YiB1GGlXLTP9KLCLwFtmxWtY3Hno1yfVzYksmLiQ=,aHO9gDeRM3NhfV7+jGDO1Sh1VHPL2OIJDTQ1dQkljbk='
}
},
}
</script>

- 发布:2025-05-19 19:14
- 更新:2025-05-19 19:18
- 阅读:25
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 11
HBuilderX类型: 正式
HBuilderX版本号: 4.65
第三方开发者工具版本号: 1
基础库版本号: 1
项目创建方式: HBuilderX
示例代码:
操作步骤:
直接编译到xhs
直接编译到xhs
预期结果:
<group-chat-card group-ids="{{a}}" type="card"></group-chat-card>
<group-chat-card group-ids="{{a}}" type="card"></group-chat-card>
实际结果:
<group-chat-card xhs:if="{{a}}" u-i="64a4780e-0" bind:l="l" u-p="{{a}}"></group-chat-card> 没有设置的属性
<group-chat-card xhs:if="{{a}}" u-i="64a4780e-0" bind:l="l" u-p="{{a}}"></group-chat-card> 没有设置的属性
bug描述:
小红书编译group-chat-card组件属性丢失
1 个回复
DCloud_UNI_JBB
感谢反馈,问题已复现,已加分
临时解决方案
替换 /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-xhs/dist/uni.compiler.js 为 附件