diff options
| author | chenjinsong <[email protected]> | 2023-10-31 19:39:54 +0800 |
|---|---|---|
| committer | chenjinsong <[email protected]> | 2023-10-31 19:39:54 +0800 |
| commit | 0152c46d056c04122a5386278a641750ecf27eb9 (patch) | |
| tree | 5c7c3c6508d406bd92fb00e5715ba907519bce96 /src/components | |
| parent | 64f376e22a8250823c903f3d63a67deffdb23c50 (diff) | |
fix: 修复知识库更新记录的时间丢失时区的问题23.10
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/table/setting/knowledgeBaseTableForCard.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/table/setting/knowledgeBaseTableForCard.vue b/src/components/table/setting/knowledgeBaseTableForCard.vue index e257dd9d..913c0e4e 100644 --- a/src/components/table/setting/knowledgeBaseTableForCard.vue +++ b/src/components/table/setting/knowledgeBaseTableForCard.vue @@ -145,7 +145,11 @@ :header-cell-style="{background:'#f5f7fa',color:'#353636',fontWeight: '400',fontSize: '12px',borderRight: 'none',borderBottom: 'none'}" cell-style="padding:6px 0px;font-size: 12px;color: #353636;font-weight: 400;line-height: 20px;border-right:none;" header-cell-style="padding:8px 0px;font-size: 12px;color: #353636;font-weight: 500;border-right:none;"> - <el-table-column prop="opTime" :label="$t('entities.tab.informationAggregation.updateTime')" width="150" ></el-table-column> + <el-table-column prop="opTime" :label="$t('entities.tab.informationAggregation.updateTime')" width="150" > + <template #default="scope" :column="item"> + <span>{{scope.row.opTime ? dateFormatByAppearance(scope.row.opTime) : '-'}}</span> + </template> + </el-table-column> <el-table-column prop="user" :label="$t('knowledgeBase.operator')" width="150" v-if="activeTab === 'updateRecord'"> <template #default="scope" :column="item"> <span>{{$_.get(scope.row, 'user.name', '-')}}</span> |
