提交 169fc312 编写于 作者: lyf's avatar lyf

限制呼叫

上级 4e4bb2ef
...@@ -57,7 +57,9 @@ export default { ...@@ -57,7 +57,9 @@ export default {
store.commit('updateNoticeList', l); store.commit('updateNoticeList', l);
console.log('--_VM', _VM) console.log('--_VM', _VM)
const {path} =_VM.$route; const {path} =_VM.$route;
if(path && String(path).indexOf('workbench') > -1){ console.log("n--------",n)
const operateUserId=store.state.soketQuest.operateUserId?store.state.soketQuest.operateUserId:''
if(path && String(path).indexOf('workbench') > -1&&n.operateUserId==operateUserId){
store.commit('socket/SET_NOTIFY', n); store.commit('socket/SET_NOTIFY', n);
} }
}); });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册