/* eslint-disable no-undef */
import {extendInclude, extendRule} from "../../utils/common";

/**
 * @return {string}
 */
//App菜单编辑页
export default {
  onChange: ({value,colInfo,getFieldValue,setFieldValue,setFieldEditable}) => {

  },
  onFetchAutoFilter:({colInfo,params,getFieldValue})=>{
    if(colInfo.FIELD_NAME=='Nav_MenuForm.NAME') {
      extendRule(params, 'PLATFORM_TYPE', 1, 0)
    }
  },
  onBeforeEdit:({isNew,getFieldValue,data,setFieldValue,setFieldEditable})=>{

  },
  onBeforeSave:({data,getFieldValue,setFieldValue})=>{

  },
}
