提交 1e56b119 编写于 作者: 张磊's avatar 张磊

save

上级 bbdbd18e
...@@ -351,7 +351,7 @@ export default { ...@@ -351,7 +351,7 @@ export default {
background: #ffffff; background: #ffffff;
border-radius: 18px; border-radius: 18px;
user-select: none; user-select: none;
min-width: 610px; //min-width: 610px;
border: 1px solid #cccccc; border: 1px solid #cccccc;
.line { .line {
display: flex; display: flex;
......
...@@ -56,7 +56,10 @@ export default { ...@@ -56,7 +56,10 @@ export default {
const n = {notifyIndex: l.length, ...socket} const n = {notifyIndex: l.length, ...socket}
store.commit('updateNoticeList', l); store.commit('updateNoticeList', l);
console.log('--_VM', _VM) console.log('--_VM', _VM)
store.commit('socket/SET_NOTIFY', n); const {path} =_VM.$route;
if(path && String(path).indexOf('workbench') > -1){
store.commit('socket/SET_NOTIFY', n);
}
}); });
state.socketClient.on('ping', function () { state.socketClient.on('ping', function () {
console.log('[E] 心跳请求已发出 →', true); console.log('[E] 心跳请求已发出 →', true);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册