Commit f7a2b59f by luyt

fix:第一次登录,控制tabbar显示

1 parent abbcd607
...@@ -54,6 +54,8 @@ Page({ ...@@ -54,6 +54,8 @@ Page({
this.setData({ this.setData({
guideShow: false guideShow: false
}) })
//显示tabar
wx.pro.showTabBar()
return return
} }
this.setData({ this.setData({
...@@ -306,6 +308,9 @@ Page({ ...@@ -306,6 +308,9 @@ Page({
// // 看线索 // // 看线索
// this.getClueInit() // this.getClueInit()
this.getUnreadApi() this.getUnreadApi()
//第一次隐藏tabar
wx.pro.hideTabBar()
// //第一次进来储缓存,以后不再用引导图 // //第一次进来储缓存,以后不再用引导图
let firstLogin = wx.$storage.get('firstLogin') let firstLogin = wx.$storage.get('firstLogin')
if (!firstLogin) { if (!firstLogin) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!