只显示有场景的得分

This commit is contained in:
joylink_zhaoerwei 2024-03-05 10:17:14 +08:00
parent 4495db6d77
commit f06d766ffa

View File

@ -13,7 +13,7 @@
<span slot-scope="{ node, data }" class="custom-tree-node"> <span slot-scope="{ node, data }" class="custom-tree-node">
<span>{{ node.label }}</span> <span>{{ node.label }}</span>
<div style="display: flex; justify-content: space-between;"> <div style="display: flex; justify-content: space-between;">
<div style="width:80px;">得分:{{ data.score }}</div> <div v-if="data.sceneid" style="width:80px;">得分:{{ data.score }}</div>
</div> </div>
</span> </span>
</el-tree> </el-tree>