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

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

parent 9181596f
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</div> </div>
</template> </template>
<script> <script>
import { mapState } from "vuex"; import { mapState } from "vuex";
import storage from "@/utils/js/Storage"; import storage from "@/utils/js/Storage";
import { export2Excel } from "@/utils/js/exportExcel"; import { export2Excel } from "@/utils/js/exportExcel";
...@@ -293,11 +293,10 @@ export default { ...@@ -293,11 +293,10 @@ export default {
}, },
// 格式化时间 // 格式化时间
dateFormat(val) { 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> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
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