阅读(3009) (0)

tt.hideTabBarRedDot

2020-02-12 16:10:52 更新
基础库 1.44.0 开始支持,低版本需做 兼容处理

效果: 隐藏 Tab 右上角的红点


参数

属性类型必填说明
indexnumber左起第一个为 0
successfunction接口调用成功的回调函数
failfunction接口调用失败的回调函数
completefunction接口调用结束的回调函数


示例代码

tt.hideTabBarRedDot({
  index: 0
});