使用变量动态获取属性
import React from "react";
import 'antd/dist/antd.css';
import {
ManOutlined, WomanOutlined } from '@ant-design/icons';
import Img from '@/assets/login-bg.png';
// props获取的data数据规则
export interface DataInterface {
/**
* 列表title标题
*/
user_name: string,
/**
* 昵称
*/
nickname: string,
/**
* 电话号码
*/
phone: string,
/**
* 邮箱号码
*/