Advertisement

学习前后端react+flask开发Table

阅读量:

视频链接:https://www.bilibili.com/video/av77854544

本课程内容涉及antd表格组件,其对应官方文档地址为:https://ant.design/components/table-cn/

使用方法概述

对HomePage.js进行调整修改为

复制代码
 import React from 'react';

    
 import {Layout, Table } from 'antd';
    
  
    
 const { Header, Content } = Layout;
    
  
    
 const dataSource = [
    
     {
    
       key: '1',
    
       name: '胡彦斌',
    
       age: 32,
    
       address: '西湖区湖底公园1号',
    
     },
    
     {
    
       key: '2',
    
       name: '胡彦祖',
    
       age: 42,
    
       address: '西湖区湖底公园1号',
    
     },
    
   ];
    
   
    
 const 

全部评论 (0)

还没有任何评论哟~