优化系统消息

This commit is contained in:
龙运模
2024-10-14 22:17:14 +08:00
parent ea060b235e
commit ffd4ad1549
14 changed files with 158 additions and 74 deletions
-1
View File
@@ -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){
+3 -2
View File
@@ -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();