fix: 列表数据为空时统一占位字符

This commit is contained in:
@changcode
2021-07-09 15:35:58 +08:00
parent 2aa7b4ad58
commit 95af9160a7
7 changed files with 13 additions and 10 deletions

View File

@@ -54,7 +54,8 @@
</template>
<span v-else-if="item.prop === 'createTime'">{{utcTimeToTimezoneStr(scope.row[item.prop])}}</span>
<span v-else-if="item.prop === 'lastLoginTime'">{{utcTimeToTimezoneStr(scope.row[item.prop])}}</span>
<span v-else>{{scope.row[item.prop]}}</span>
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
<span v-else>-</span>
</template>
</el-table-column>
<el-table-column