summaryrefslogtreecommitdiff
path: root/src/components/table/administration/UserTable.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/table/administration/UserTable.vue')
-rw-r--r--src/components/table/administration/UserTable.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/table/administration/UserTable.vue b/src/components/table/administration/UserTable.vue
index 7b455a34..6a775844 100644
--- a/src/components/table/administration/UserTable.vue
+++ b/src/components/table/administration/UserTable.vue
@@ -44,7 +44,7 @@
</template>
<template v-else-if="item.prop === 'lastLoginTime'">
<template v-if="scope.row[item.prop]">
- {{dateFormatByAppearance(scope.row[item.prop])}}
+ {{dateFormatByAppearance(scope.row[item.prop]) || '-'}}
</template>
<template v-else>
<span>-</span>
@@ -60,7 +60,7 @@
@change="()=>{statusChange(scope.row)}">
</el-switch>
</template>
- <span v-else>{{scope.row[item.prop]}}</span>
+ <span v-else>{{scope.row[item.prop] || '-'}}</span>
</template>
</el-table-column>
<template v-slot:empty >