fix: 修复npm模块下无分数的展示问题
This commit is contained in:
@@ -130,6 +130,10 @@
|
||||
.data-score.data-score-green {
|
||||
background: #749F4D;
|
||||
}
|
||||
.data-score-no-data {
|
||||
width: 34px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.data-total-value {
|
||||
display: flex;
|
||||
|
||||
@@ -114,6 +114,9 @@
|
||||
<div v-else-if="scope.row.score <= 6" :class="{'data-score-green': scope.row.score <= 6}" class="data-score">
|
||||
{{scope.row.score}}
|
||||
</div>
|
||||
<div v-else-if="scope.row.score === '-'" class="data-score-no-data">
|
||||
-
|
||||
</div>
|
||||
</template>
|
||||
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
|
||||
<span v-else>-</span>
|
||||
|
||||
Reference in New Issue
Block a user