perf: 列表页上的数字0不置灰
This commit is contained in:
@@ -116,8 +116,7 @@
|
||||
|
||||
</template >
|
||||
<template v-else-if="item.prop == 'cabinetNum'">
|
||||
<span v-if="scope.row.cabinetNum" class="link" @click="showCabinet(scope.row)">{{scope.row[item.prop]}}</span>
|
||||
<template v-else>0</template>
|
||||
<span class="link" @click="showCabinet(scope.row)">{{scope.row[item.prop]}}</span>
|
||||
</template>
|
||||
<template v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</template>
|
||||
<template v-else>-</template>
|
||||
|
||||
Reference in New Issue
Block a user