|
@@ -16,9 +16,10 @@ Page({
|
|
|
|
|
|
routeBtn: function (e) {
|
|
|
let type = e.currentTarget.dataset.type;
|
|
|
+ console.log(app.globalData.wxInfo)
|
|
|
if (type == '1') {
|
|
|
wx.redirectTo({
|
|
|
- url: `/pages/history/index?openid=${app.globalData.userInfo.openid}`
|
|
|
+ url: `/pages/history/index?openid=${app.globalData.wxInfo.openid}`
|
|
|
})
|
|
|
} else if (type == '2') {
|
|
|
app.globalData.userInfo = {}
|