fix(monitor/operlog): 修复操作日志表格操作日期显示错误
- 修正 `operlog/index.vue` 中日期格式化时的取值对象,
将 `form.operTime` 改为 `scope.row.operTime`,
确保每一行正确显示对应记录的操作日期
| | |
| | | </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']">
|