import type { FormRules } from 'element-plus'

export const rules = (): FormRules => {
  return {
    key: [{ required: true, message: '请选择key', trigger: 'blur' }],
    value: [{ required: true, message: '请选择value', trigger: 'blur' }],
    description: [{ required: true, message: '请选择备注', trigger: 'blur' }],
  }
}
