Commit e692e2d9 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复AI监察异常报表时间转换错误

parent 9181596f
......@@ -26,8 +26,8 @@
</a-table>
</div>
</template>
<script>
<script>
import { mapState } from "vuex";
import storage from "@/utils/js/Storage";
import { export2Excel } from "@/utils/js/exportExcel";
......@@ -293,11 +293,10 @@ export default {
},
// 格式化时间
dateFormat(val) {
return this.$moment(val).format("YYYY-MM-DD HH:mm:ss");
return this.$moment.unix(val).format("YYYY-MM-DD HH:mm:ss");
},
},
};
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<style lang="less" scoped></style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment