This commit is contained in:
liushiwei
2024-07-18 14:48:44 +08:00
parent 6356004d74
commit 0808f42ce7
37 changed files with 2456 additions and 158 deletions

View File

@@ -179,9 +179,19 @@ import { saveAs } from 'file-saver'
},
mounted () {
this.getUserInfo()
this.isLoading = true
this.getList()
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.getUserInfo()
this.isLoading = true
this.getList()
}
})
},
methods: {