Commit ac9f9b55 by 匡雅琴

Merge branch 'v3.11.2' into v3.11.1

2 parents 84da153d 945de646
......@@ -32,8 +32,8 @@
align-items: center;
}
.company-logo{
width: 172rpx;
height: 48rpx;
width: 192rpx;
height: 56rpx;
}
.user-company text {
font-size: 18rpx;
......
......@@ -221,16 +221,16 @@ Page({
menus: ['shareAppMessage']
})
app.getBaseData().then(res => {
const productData = res[0].list
const systemData = res[1].list
this.setData({
[`tabList[0].name`]: res[0].name,
[`tabList[1]name`]: res[1].name,
systemData,
productData
})
})
// app.getBaseData().then(res => {
// const productData = res[0].list
// const systemData = res[1].list
// this.setData({
// [`tabList[0].name`]: res[0].name,
// [`tabList[1]name`]: res[1].name,
// systemData,
// productData
// })
// })
},
addAll(data) {
......@@ -276,6 +276,17 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
const app = getApp()
app.getBaseData().then(res => {
const productData = res[0].list
const systemData = res[1].list
this.setData({
[`tabList[0].name`]: res[0].name,
[`tabList[1]name`]: res[1].name,
systemData,
productData
})
})
const userInfo = wx.$util.getUserInfo()
this.setData({
hasPhoneNumber: !!(userInfo && userInfo.phone)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!