[更新]更新企业广场,企业config错误增加返回广场方案
This commit is contained in:
@@ -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"
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user