Commit 11e76837 authored by 周宏民's avatar 周宏民

fix: 修改

parent b4c1fd49
/*
* @Title:
* @Title:
* @Author: hongmye
* @Date: 2022-06-23 16:03:16
*/
// @ts-ignore
import React, { useEffect, useState } from 'react';
import Empty from '@wisdom-components/empty';
import { useEffect, useState } from 'react';
// import BasicTable from '../index';
import request from 'umi-request';
......@@ -51,14 +51,14 @@ const Demo = () => {
// @ts-ignore
return (
<div style={{ height: '800px' }}>
{!!dataSource.length && (
// <BasicTable
// dataSource={dataSource}
// columns={columns}
// bordered={false}
// pagination={{ pageSize: 20, size: 'default' }}
// />
)}
{/* {!!dataSource.length && (
<BasicTable
dataSource={dataSource}
columns={columns}
bordered={false}
pagination={{ pageSize: 20, size: 'default' }}
/>
)} */}
{!dataSource.length && <Empty description={'暂无数据'} />}
</div>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment