1***@qq.com
1***@qq.com
  • 发布:2023-06-05 11:04
  • 更新:2023-06-05 11:04
  • 阅读:192

【报Bug】uniapp 开发百度小程序,使用 top-swan置顶组件,编译后bindtopstatuschange无法触发

分类:uni-app

产品分类: uniapp/小程序/百度

PC开发环境操作系统: Mac

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

HBuilderX类型: 正式

HBuilderX版本号: 3.5.3

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

基础库版本号: 3.700.2

项目创建方式: HBuilderX

操作步骤:
<template>  
    <view class="content">  
        <top-swan size="default" type="primary" bindtopstatuschange="handleTopStatusChangeToast" />  
    </view>  
</template>  

<script>  

    export default {  

        data() {  
            return {  

            }  
        },  
        onLoad() {  

        },  
        methods: {  
            handleTopStatusChangeToast(){  
                                // 该方法没有触发  
                console.log("handleTopStatusChangeToast");  
            }  
        }  
    }  
</script>  

预期结果:

bindtopstatuschange能够正常触发

实际结果:

bindtopstatuschange没有触发

bug描述:

<top-swan size="default" type="primary" bindtopstatuschange="handleTopStatusChangeToast" @error="error"/>
2023-06-05 11:04 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复