【无】基础资源卡片的健康度为0时,图标默认显示
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -61,7 +61,7 @@ | @@ -61,7 +61,7 @@ | ||
61 | <template #content> | 61 | <template #content> |
62 | {{item.resTypeName}} | 62 | {{item.resTypeName}} |
63 | </template> | 63 | </template> |
64 | - <img :src="'../src/style/img/fault/base/base-'+item.resClass+'-'+(item.health?item.health:'no')+'.png'"> | 64 | + <img :src="'../src/style/img/fault/base/base-'+item.resClass+'-'+(item.health && item.health!=0?item.health:'no')+'.png'"> |
65 | </el-tooltip> | 65 | </el-tooltip> |
66 | </el-col> | 66 | </el-col> |
67 | <el-col :span="16" style="color: #666666;"> | 67 | <el-col :span="16" style="color: #666666;"> |
-
Please register or login to post a comment