提交 28f1e57c 编写于 作者: 张磊's avatar 张磊

done

上级 89edfa02
...@@ -33,18 +33,25 @@ const socket = { ...@@ -33,18 +33,25 @@ const socket = {
root: true, root: true,
}); });
context.commit('main/updateAllSize', allSize, { root: true }); context.commit('main/updateAllSize', allSize, { root: true });
if (list) {
const l = list[0] || []; const l = list[0] || [];
if (currentTabStatus == 99) { if (currentTabStatus == 99) {
context.commit('main/updateCurrentDiagList', list, { root: true }); context.commit('main/updateCurrentDiagList', list, { root: true });
} else { } else {
if (currentTabStatus == l.adviceStatus) { if (currentTabStatus == l.adviceStatus) {
context.commit('main/updateCurrentDiagList', list, { root: true }); context.commit('main/updateCurrentDiagList', list, {
root: true,
});
} }
if (l.length == 0) { if (l.length == 0) {
context.commit('main/updateCurrentDiagList', list, { root: true }); context.commit('main/updateCurrentDiagList', list, {
root: true,
});
} }
} }
} else {
context.commit('main/updateCurrentDiagList', [], { root: true });
}
}); });
socketClient.on('diagnose_call_push_event', (socket) => { socketClient.on('diagnose_call_push_event', (socket) => {
const l = window._VM.$store.state.main.noticeList; const l = window._VM.$store.state.main.noticeList;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册