import type{ FormRules } from 'element-plus'


export const rules = (): FormRules => {
    return {
        name: [{ required: true, message: '请输入角色名称', trigger: 'blur' }],
        title: [{ required: true, message: '请输入角色标题', trigger: 'blur' }],
    }
}
