Skip to content

Commit

Permalink
feat(frontend): 资源规格支持doris及机型规格交互调整 TencentBlueKing#8051
Browse files Browse the repository at this point in the history
  • Loading branch information
jinquantianxia committed Nov 20, 2024
1 parent 123c9b2 commit 7344f83
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
{{
default: () => (
<div class="machine-info text-overflow">
{data.cpu.min > 0 && <>
{data.cpu.min > 0 && data.device_class.length === 0 && <>
<bk-tag class="machine-info-cpu">
CPU = {`${data.cpu.min} ~ ${data.cpu.max}`} {t('')}
</bk-tag>
Expand Down Expand Up @@ -243,7 +243,7 @@
),
content: () => (
<div class="resource-machine-info-tips">
{data.cpu.min > 0 && <>
{data.cpu.min > 0 && data.device_class.length === 0 && <>
<strong>CPU: </strong>
<div class="resource-machine-info__values mb-10">
<bk-tag>{`${data.cpu.min} ~ ${data.cpu.max}`} {t('')}</bk-tag>
Expand Down

0 comments on commit 7344f83

Please sign in to comment.