diff --git a/dbm-ui/frontend/src/views/resource-manage/spec/components/SpecList.vue b/dbm-ui/frontend/src/views/resource-manage/spec/components/SpecList.vue index ac0694d54..4efb8549c 100644 --- a/dbm-ui/frontend/src/views/resource-manage/spec/components/SpecList.vue +++ b/dbm-ui/frontend/src/views/resource-manage/spec/components/SpecList.vue @@ -210,7 +210,7 @@ {{ default: () => (
- {data.cpu.min > 0 && <> + {data.cpu.min > 0 && data.device_class.length === 0 && <> CPU = {`${data.cpu.min} ~ ${data.cpu.max}`} {t('核')} @@ -243,7 +243,7 @@ ), content: () => (
- {data.cpu.min > 0 && <> + {data.cpu.min > 0 && data.device_class.length === 0 && <> CPU:
{`${data.cpu.min} ~ ${data.cpu.max}`} {t('核')}