完善ws消息
This commit is contained in:
@@ -148,7 +148,7 @@ function webSocketOnMessage(msg) {
|
||||
}else{
|
||||
showNot = ElNotification.error({
|
||||
title: '系统退出',
|
||||
message: result.msg,
|
||||
message: result.data.msg,
|
||||
duration:0
|
||||
});
|
||||
handleError('系统退出', result.msg);
|
||||
@@ -156,8 +156,7 @@ function webSocketOnMessage(msg) {
|
||||
}
|
||||
|
||||
eventBus.$emit('sockBack',result);
|
||||
|
||||
if(result.type == 'init'){
|
||||
if(result.data && result.data.type == 1){
|
||||
if(showNot && showNot.close){
|
||||
showNot.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user