Commit 64d5c3af authored by zhangjianguo's avatar zhangjianguo

Merge branch 'master' of http://gitlab.oytour.com/viitto/mallapp

parents f4ecc897 3349e3d4
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
@confirm="confirm" @confirm="confirm"
></u-modal> ></u-modal>
<u-toast ref="uToast" /> <u-toast ref="uToast" />
<!-- <auth v-if="showAuth" @changeuserinfo="reloadUserinfo"></auth> --> <auth v-if="showAuth" @changeuserinfo="reloadUserinfo"></auth>
</view> </view>
</template> </template>
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
}); });
}, },
onLoad(option) { onLoad(option) {
this.u = wx.getStorageSync("userinfo"); this.u = wx.getStorageSync("mall_UserInfo");
if (!this.u) { if (!this.u) {
this.u = { this.u = {
nickName: "未登录", nickName: "未登录",
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
); );
}, },
reloadUserinfo() { reloadUserinfo() {
this.u = uni.getStorageSync("userinfo"); this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth = false; this.showAuth = false;
}, },
isdefault(item) { isdefault(item) {
......
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 to comment