修复定时任务名称标签显示

This commit is contained in:
whyour 2022-03-13 00:06:24 +08:00
parent 00ee90792f
commit bc7f406968

View File

@ -85,7 +85,7 @@ const Crontab = ({ headerStyle, isPhone, theme }: any) => {
goToScriptManager(record);
}}
>
{record.labels && record.labels.length > 0 ? (
{record.labels?.length > 0 && record.labels[0] !== '' ? (
<Popover
placement="right"
trigger={isPhone ? 'click' : 'hover'}