[更新]更新企业广场,企业config错误增加返回广场方案

This commit is contained in:
唐明明
2020-12-30 15:48:52 +08:00
parent e2b2490e1a
commit de975668d5
8 changed files with 45 additions and 8 deletions

View File

@@ -7,6 +7,9 @@
import { mall, video, ticket, user } from "../../lib/tabBarData"
Page({
data: {
loding: true
},
/**
* 生命周期函数--监听页面加载
*/
@@ -49,6 +52,10 @@ Page({
url: newTabBar[0].pagePath,
})
}
}).catch(()=>{
this.setData({
loding: false
})
})
}
})
@@ -58,5 +65,14 @@ Page({
*/
onShow(){
wx.hideHomeButton()
},
/**
* 打开企业广场
*/
openIndex(){
wx.reLaunch({
url: "/pages/company/index"
})
}
})