import type { FormRules } from "element-plus";

export const formRules: FormRules = {
  permissionName: [
    { required: true, message: "权限名称为必填项", trigger: "blur" }
  ],
  permissionCode: [
    { required: true, message: "权限编码为必填项", trigger: "blur" }
  ],
  permissionType: [
    { required: true, message: "权限类型为必填项", trigger: "change" }
  ]
};
