refactor(系统组件): 优化cpu资源显示的展示方式

This commit is contained in:
song-tianyang 2023-10-19 19:09:05 +08:00 committed by 刘瑞斌
parent 68cc23e377
commit 57a4d42c94
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
v-if="nodeOperationInfo!== undefined && nodeOperationInfo.runningTask>0 && nodeOperationInfo.cpuUsage!== undefined" v-if="nodeOperationInfo!== undefined && nodeOperationInfo.runningTask>0 && nodeOperationInfo.cpuUsage!== undefined"
style="color:#A9A9A9"> style="color:#A9A9A9">
{{ " CPU:" + nodeOperationInfo.cpuUsage }}</span> {{ " CPU:" + nodeOperationInfo.cpuUsage }}</span>
<span v-if="nodeOperationInfo!== undefined && nodeOperationInfo.cpuUsage!== undefined" style="color:#A9A9A9;"> <span v-else-if="nodeOperationInfo!== undefined && nodeOperationInfo.cpuUsage!== undefined" style="color:#A9A9A9;">
{{ " CPU:" + nodeOperationInfo.cpuUsage }}</span> {{ " CPU:" + nodeOperationInfo.cpuUsage }}</span>
</div> </div>
</template> </template>