This commit is contained in:
liushiwei
2024-05-24 22:25:50 +08:00
parent 2c2538c828
commit 10c5bce468
5 changed files with 48 additions and 6 deletions

View File

@@ -315,7 +315,17 @@ import { Message } from 'element-ui'
},
mounted () {
this.beforeGetList()
this.$http.post('/api/malluser/info').then(res => {
if (res.code == 0) {
this.$store.commit('setUserInfo', res.data)
if (res.data.flag != 1) {
Message.error('您的账号未激活或已失效,请激活后使用')
this.$store.commit('setActiveDlgShow', true)
return;
}
this.beforeGetList()
}
})
},
methods: {