|
@@ -49,6 +49,7 @@ export const commonData = {
|
|
methods: {
|
|
methods: {
|
|
//获取个人信息
|
|
//获取个人信息
|
|
getUserInfo() {
|
|
getUserInfo() {
|
|
|
|
+ this.$store.commit('SET_USERINFO', {})
|
|
this.$api.getUserInfo().then(response => {
|
|
this.$api.getUserInfo().then(response => {
|
|
localStorage.tenant = response.data.tenantId
|
|
localStorage.tenant = response.data.tenantId
|
|
this.$store.commit('SET_USERINFO', response.data)
|
|
this.$store.commit('SET_USERINFO', response.data)
|