用户2803209
用户2803209
  • 发布:2025-05-19 19:14
  • 更新:2025-05-19 19:18
  • 阅读:25

【报Bug】小红书编译group-chat-card组件属性丢失

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 11

HBuilderX类型: 正式

HBuilderX版本号: 4.65

第三方开发者工具版本号: 1

基础库版本号: 1

项目创建方式: HBuilderX

示例代码:
<template>  
    <group-chat-card :group-ids="groupChatList" type="card"> </group-chat-card>  
</template>  

<script>  
    export default {  
        data() {  
            return {  
                groupChatList: 'sy3YiB1GGlXLTP9KLCLwFtmxWtY3Hno1yfVzYksmLiQ=,aHO9gDeRM3NhfV7+jGDO1Sh1VHPL2OIJDTQ1dQkljbk='  
            }  
        },  
    }  
</script>

操作步骤:

直接编译到xhs

预期结果:

<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> 没有设置的属性

bug描述:

小红书编译group-chat-card组件属性丢失

2025-05-19 19:14 负责人:无 分享
已邀请:
DCloud_UNI_JBB

DCloud_UNI_JBB

感谢反馈,问题已复现,已加分

临时解决方案

替换 /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-xhs/dist/uni.compiler.js 为 附件

要回复问题请先登录注册