|
@@ -71,12 +71,13 @@ Page({
|
|
|
|
|
|
},
|
|
|
onShow() {
|
|
|
+ console.log(wx.getStorageSync('user'), "打印");
|
|
|
if (wx.getStorageSync('user') == '') {
|
|
|
wx.redirectTo({
|
|
|
url: '/pages/login/login',
|
|
|
})
|
|
|
- return
|
|
|
}
|
|
|
+
|
|
|
wx.request({
|
|
|
url: app.globalData.publicUrl + '/applet/findUserInfo',
|
|
|
method: "GET",
|
|
@@ -92,7 +93,6 @@ Page({
|
|
|
})
|
|
|
},
|
|
|
onLoad() {
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
})
|