|
@@ -322,12 +322,11 @@ Page({
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- onLoad() {
|
|
|
|
|
|
|
+ onShow() {
|
|
|
let userName = wx.getStorageSync("userName");
|
|
let userName = wx.getStorageSync("userName");
|
|
|
let userId = wx.getStorageSync("userId");
|
|
let userId = wx.getStorageSync("userId");
|
|
|
let phone = wx.getStorageSync("phone");
|
|
let phone = wx.getStorageSync("phone");
|
|
|
let shipId = wx.getStorageSync("shipId");
|
|
let shipId = wx.getStorageSync("shipId");
|
|
|
-
|
|
|
|
|
if (userId && shipId) this.checkCheckStatus();
|
|
if (userId && shipId) this.checkCheckStatus();
|
|
|
this.setData({
|
|
this.setData({
|
|
|
userName,
|
|
userName,
|