zhang_nuo
15 小时以前 9de04b741b27cce85615b4aff939018b08435b14
fix(monitor/operlog): 修复操作日志表格操作日期显示错误

- 修正 `operlog/index.vue` 中日期格式化时的取值对象,
将 `form.operTime` 改为 `scope.row.operTime`,
确保每一行正确显示对应记录的操作日期
已修改1个文件
2 ■■■ 文件已修改
src/views/monitor/operlog/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/operlog/index.vue
@@ -129,7 +129,7 @@
         </el-table-column>
         <el-table-column label="操作日期" align="center" prop="operTime" width="180" sortable="custom" :sort-orders="['descending', 'ascending']">
            <template #default="scope">
               <span>{{ dayjs(form.operTime).format("YYYY-MM-DD") }}</span>
               <span>{{ dayjs(scope.row.operTime).format("YYYY-MM-DD") }}</span>
            </template>
         </el-table-column>
         <el-table-column label="消耗时间" align="center" prop="costTime" width="110" :show-overflow-tooltip="true" sortable="custom" :sort-orders="['descending', 'ascending']">