|
@@ -112,6 +112,7 @@
|
|
this.$store.commit("user/set_name", res.data.name)
|
|
this.$store.commit("user/set_name", res.data.name)
|
|
this.$store.commit("user/set_avatar", res.data.avatar)
|
|
this.$store.commit("user/set_avatar", res.data.avatar)
|
|
this.$store.commit("user/set_userId", res.data.baseUserId)
|
|
this.$store.commit("user/set_userId", res.data.baseUserId)
|
|
|
|
+ uni.$emit("updateUserInfo")
|
|
this.$navToPage({
|
|
this.$navToPage({
|
|
url: "/pages/index/index"
|
|
url: "/pages/index/index"
|
|
}, "switchTab")
|
|
}, "switchTab")
|