Skip to content

Commit

Permalink
fix(frontend): 历史任务详情失败节点跳转日志问题修复 TencentBlueKing#8117
Browse files Browse the repository at this point in the history
  • Loading branch information
jinquantianxia committed Nov 22, 2024
1 parent 19449a9 commit d319cc5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@
];
fetchData();
};
console.log('asdasdasdasd')
</script>
<style lang="less">
.partition-execute-log {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@
const deviceClassList = ref<DeviceClassListItem[]>([]);
const scrollLoading = ref(false);
const searchParams = {
offset: 0,
limit: 12,
device_type: '',
};
const deviceListMap = ref<
Record<
string,
Expand All @@ -134,6 +127,12 @@
>
>({});
const searchParams = {
offset: 0,
limit: 12,
device_type: '',
};
const selectedCpuMem = {
cpu: {
min: Number.MAX_SAFE_INTEGER,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,8 @@
};
const handleNodeClick = (node: Props['nodesTreeData'][number]) => {
const isNoShowLog = !!node.failedChildren && node.failedChildren.length > 0;
console.log('isNoShowLog: ', isNoShowLog);
emits('node-click', node, treeRef, !isNoShowLog);
const iShowLog = !node.failedChildren;
emits('node-click', node, treeRef, iShowLog);
};
const handleNodePanelSwich = () => {
Expand Down

0 comments on commit d319cc5

Please sign in to comment.