src/components/SFtable/index.vue
@@ -43,7 +43,6 @@ > <template slot-scope="scope"> <dict-tag :options="qyoptions" :value="scope.row.usestate" /> </template> </el-table-column> <el-table-column @@ -144,8 +143,14 @@ } return "手动"; } if (column.property === "createTime") { return dayjs(cellValue).format("YYYY.MM.DD HH:mm:ss"); if ( column.property === "createTime" || column.property === "inhosptime" ) { if (cellValue === null) { return ""; } return dayjs(cellValue).format("YYYY-MM-DD "); } return cellValue; },