Commit 9fb21378 by 施宇

111

parent 9c7d4efe
...@@ -21,7 +21,7 @@ Component({ ...@@ -21,7 +21,7 @@ Component({
* 组件的初始数据 * 组件的初始数据
*/ */
data: { data: {
userInfo:wx.getStorageSync('userInfo'), userInfo:null,
storeInfo:null, storeInfo:null,
drop1:false, drop1:false,
drop2:false, drop2:false,
...@@ -44,6 +44,9 @@ Component({ ...@@ -44,6 +44,9 @@ Component({
}, },
attached: function() { attached: function() {
// 在组件实例进入页面节点树时执行 // 在组件实例进入页面节点树时执行
this.setData({
userInfo:wx.getStorageSync('userInfo')
})
this.judgePagePath(); this.judgePagePath();
if(!this.data.userInfo){ if(!this.data.userInfo){
this.getUserData(); this.getUserData();
......
...@@ -265,7 +265,6 @@ Page({ ...@@ -265,7 +265,6 @@ Page({
}) })
return; return;
}else{ }else{
// 109P0424J3013
me.setData({ me.setData({
listArr:[info], listArr:[info],
receivingId:info.receiving_id receivingId:info.receiving_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment