perf: 支持cloudflare域名

This commit is contained in:
xiaojunnuo
2024-06-15 02:17:34 +08:00
parent 368132daae
commit fbb9a47e8f
14 changed files with 206 additions and 106 deletions
@@ -56,7 +56,10 @@ export default {
for (let node of nodes) {
if (currentHistory?.value?.logs != null) {
node.logs = computed(() => {
return currentHistory.value.logs[node.node.id] || [];
if(currentHistory?.value?.logs && currentHistory.value?.logs[node.node.id]!= null){
return currentHistory.value?.logs[node.node.id];
}
return [];
});
}
}