gaoluyang
昨天 cd8b52bdf89a4d1101f72e0ece9f4df22a3d3f7a
src/views/system/loginlog/data.ts
@@ -4,8 +4,8 @@
import { h } from 'vue';
import { DICT_TYPE } from '../../../packages/constants/src';
import { formatDateTime } from '../../../packages/utils/src';
import { DICT_TYPE } from '@vben/constants';
import { formatDate } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
import { getRangePickerDefaultProps } from '#/utils';
@@ -88,7 +88,7 @@
      field: 'createTime',
      title: '登录日期',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
@@ -141,7 +141,7 @@
    {
      field: 'createTime',
      label: '登录日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}