fix(任务中心): 列表状态判空
This commit is contained in:
parent
b5eb31f348
commit
a9a4bb7203
|
@ -223,7 +223,7 @@
|
|||
options: Object.keys(executeResultMap).map((key) => ({
|
||||
label: t(executeResultMap[key].label),
|
||||
value: key,
|
||||
icon: executeResultMap[key].icon,
|
||||
icon: executeResultMap[key]?.icon,
|
||||
})),
|
||||
filterSlotName: FilterSlotNameEnum.GLOBAL_TASK_CENTER_EXEC_RESULT,
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="flex items-center justify-start">
|
||||
<MsIcon :type="getExecutionResult().icon" :class="`text-[${getExecutionResult()?.color}]`" size="14" />
|
||||
<span class="ml-1">{{ t(getExecutionResult().label) }}</span>
|
||||
<MsIcon :type="getExecutionResult()?.icon" :class="`text-[${getExecutionResult()?.color}]`" size="14" />
|
||||
<span class="ml-1">{{ t(getExecutionResult()?.label) }}</span>
|
||||
<!-- <a-tooltip v-if="props.scriptIdentifier" :content="getMsg()">
|
||||
<MsTag
|
||||
class="ml-2"
|
||||
|
|
Loading…
Reference in New Issue