my.showTabBar为支付宝小程序显示tabBar API,之前小编分享过一篇《支付宝小程序跳转页面后为何不显示tabBar》,有兴趣也可以看看。
示例代码:
my.showTabBar({
animation: true,
success: function(res) {
console.log(res); // { "success": true}
},
fail: function(err) {
console.log(err);
}
});
相关入参,可以参考支付宝官方文档:https://opendocs.alipay.com/mini/api/dpq5dh?pathHash=d0bf300c
暂无评论,抢个沙发...