|
@@ -13,7 +13,7 @@ Page({
|
|
|
baseUrl: __wxConfig.accountInfo.icon || ""
|
|
|
},
|
|
|
|
|
|
- toLogin(){
|
|
|
+ toLogin() {
|
|
|
const pages = getCurrentPages();
|
|
|
const thisPage = pages[pages.length - 1];
|
|
|
wx.reLaunch({
|
|
@@ -24,8 +24,7 @@ Page({
|
|
|
/**
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
- onLoad(options) {
|
|
|
- },
|
|
|
+ onLoad(options) {},
|
|
|
|
|
|
/**
|
|
|
* 生命周期函数--监听页面初次渲染完成
|
|
@@ -38,7 +37,11 @@ Page({
|
|
|
* 生命周期函数--监听页面显示
|
|
|
*/
|
|
|
onShow() {
|
|
|
-
|
|
|
+ this.setData({
|
|
|
+ userUrl: wx.getStorageSync('userUrl') || '',
|
|
|
+ phone: wx.getStorageSync('phone') || '',
|
|
|
+ userGroup: wx.getStorageSync('userGroup') || '',
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
/**
|