优化系统消息
This commit is contained in:
@@ -324,7 +324,6 @@ tool.isBinaryFile = function (file) {
|
||||
tool.authPermissions = function (list){
|
||||
let arr = [];
|
||||
if(list && list.length>0){
|
||||
console.log(list,233)
|
||||
list.forEach(item=>{
|
||||
for(let i in item){
|
||||
if(item[i] && item[i].length>0){
|
||||
|
||||
@@ -154,8 +154,9 @@ function webSocketOnMessage(msg) {
|
||||
handleError('系统退出', result.msg);
|
||||
}
|
||||
}
|
||||
|
||||
eventBus.$emit('sockBack',result);
|
||||
if(result && result.data){
|
||||
eventBus.$emit('sockBack',result);
|
||||
}
|
||||
if(result.data && result.data.type == 1){
|
||||
if(showNot && showNot.close){
|
||||
showNot.close();
|
||||
|
||||
Reference in New Issue
Block a user