import { message } from "antd/lib/index";
import { getPropertyData, extendInclude, extendRule, getDataFieldValue, setDataFieldValue, initFilter, empty } from "../../utils/common";
import { connect } from 'dva';
/**
 * @return {string}
 */
// 编辑
export default {

  onBeforeEdit: ({ isNew, setFieldValue, login }) => {
    if (isNew) {
      setFieldValue("CHECKTIME", (new Date()).Format("yyyy-MM-dd HH:mm:ss"))
    }
  },
}
