优化gpu前端展示代码 (#375)

This commit is contained in:
nap0o authored and GitHub committed 2024-06-23 22:20:04 +08:00
1 parent 3596e443fa
commit 5a1df00488
5 files changed
+11 -6

No files matched your search

@@ -75,7 +75,8 @@
</span>
<span class="node-cell-expand" v-if="node.host.GPU">
<span class="node-cell-expand-label">GPU:</span>
@#node.host.GPU.join(",")#@ (@#node.gpu.percent#@%)
@#node.host.GPU.join(",")#@
(@#parseInt(node.state.GPU >=0 ? node.state.GPU : 0)#@%)
</span>
<span class="node-cell-expand">
<span class="node-cell-expand-label">{{tr "DiskUsed"}}:</span>