fix(任务中心): bugFix

This commit is contained in:
baiqi 2024-10-29 17:55:03 +08:00 committed by 刘瑞斌
parent ed3a4fb234
commit 09cbe06af9
3 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<a-tag :color="executeResultMap[props.record.result]?.color">
{{ t(executeResultMap[props.record.result]?.label || '-') }}
</a-tag>
<div class="one-line-text">{{ detail.name }}</div>
<div class="one-line-text flex-1">{{ detail.name }}</div>
</div>
<div class="flex justify-end">
<MsButton type="icon" status="secondary" class="!rounded-[var(--border-radius-small)]" @click="init">

View File

@ -514,6 +514,8 @@
//
resourcePoolNodes.value.add(lastValue);
}
} else if (value.length === 0) {
clearResourcePools();
} else {
//
const lastValue = value[value.length - 1];

View File

@ -5,7 +5,7 @@
<a-tag :color="executeResultMap[props.record.result]?.color">
{{ t(executeResultMap[props.record.result]?.label || '-') }}
</a-tag>
<div class="one-line-text">{{ detail.name }}</div>
<div class="one-line-text flex-1">{{ detail.name }}</div>
</div>
<div class="flex justify-end">
<MsButton type="icon" status="secondary" class="!rounded-[var(--border-radius-small)]" @click="init">