export default [
    {
        label:'头像',
        type:'avatar',
        key:'avatar',
        trigger:'uploadAvatar'
    },
    {
        label: '姓名',
        key:'nickname',
        trigger:'openModal'
    },
    {
        label: '手机号',
        key:'mobile',
        type:'number',
        maxLength:11,
        rules:{
          empty:'请输入手机号',
          mobile:'格式不正确'
        },
        placeholder:'未设置手机号',
        trigger: 'openModal'
    }
]