diff --git a/src/components/global.vue b/src/components/global.vue index af413d5..6a00cfb 100644 --- a/src/components/global.vue +++ b/src/components/global.vue @@ -135,10 +135,12 @@ } }else if(data.cmd=='LOGIN') { //登录 - this.cite.memberLoginVo = data - this.cite.state = { - name: '登录设备成功!', - sta: true + if(this.cite.memberLoginVo=='') { + this.cite.memberLoginVo = data + this.cite.state = { + name: '登录设备成功!', + sta: true + } } }else if(data.cmd=='LOGOUT'){ //登出