首页 >> 牛刀云小程序开发教程 >> 附录 >> 系统API >> 组件API

22.3.18 页签组件

1、this.comp(“compID”).setActiveTabIndex(Integer)根据序号跳转到指定的页签

2、this.comp(“compID”).setActiveTabId(String)根据id跳转到指定的页签