提交代码

This commit is contained in:
遥望-倪浩天 2024-09-24 14:29:28 +08:00
parent 5f14fd9a96
commit baf0e5e483
1 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<el-table-column prop="respondedTime" label="Response Time" show-overflow-tooltip sortable>
<template #default="scope">
<!-- 格式化去除时分秒 -->
{{ dateFormat(scope.row.disasterTime) }}
{{ dateFormat(scope.row.respondTime) }}
</template>
</el-table-column>
<el-table-column prop="adminName" label="Admin" show-overflow-tooltip ></el-table-column>
@ -141,6 +141,9 @@ const remove = (row) => {
//
const dateFormat = (date) => {
if (date==""||date==null){
return ""
}
return useDateFormat(date, 'YYYY-MM-DD').value;
};