fix(任务中心): k8s不显示排队

This commit is contained in:
baiqi 2024-11-21 18:38:24 +08:00 committed by 刘瑞斌
parent ff68f2090e
commit e278bfa93e
1 changed files with 2 additions and 0 deletions

View File

@ -649,6 +649,8 @@
const queue = res[item.id]; const queue = res[item.id];
if (item.errorMessage) { if (item.errorMessage) {
item.lineNum = ''; item.lineNum = '';
} else if (!item.resourcePoolNode.includes(':')) {
item.lineNum = '-';
} else if (queue === -1) { } else if (queue === -1) {
item.lineNum = t('ms.taskCenter.waitQueue'); item.lineNum = t('ms.taskCenter.waitQueue');
} else if (queue) { } else if (queue) {