<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>
- 发布:2023-06-05 11:04
- 更新:2023-06-05 11:04
- 阅读:192
产品分类: uniapp/小程序/百度
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 11.1
HBuilderX类型: 正式
HBuilderX版本号: 3.5.3
第三方开发者工具版本号: 4.18.1
基础库版本号: 3.700.2
项目创建方式: HBuilderX
操作步骤:
预期结果:
bindtopstatuschange能够正常触发
bindtopstatuschange能够正常触发
实际结果:
bindtopstatuschange没有触发
bindtopstatuschange没有触发
bug描述:
<top-swan size="default" type="primary" bindtopstatuschange="handleTopStatusChangeToast" @error="error"/>
0 个回复