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

fix: 修改

parent b4c1fd49
/* /*
* @Title: * @Title:
* @Author: hongmye * @Author: hongmye
* @Date: 2022-06-23 16:03:16 * @Date: 2022-06-23 16:03:16
*/ */
// @ts-ignore // @ts-ignore
import React, { useEffect, useState } from 'react';
import Empty from '@wisdom-components/empty'; import Empty from '@wisdom-components/empty';
import { useEffect, useState } from 'react';
// import BasicTable from '../index'; // import BasicTable from '../index';
import request from 'umi-request'; import request from 'umi-request';
...@@ -51,14 +51,14 @@ const Demo = () => { ...@@ -51,14 +51,14 @@ const Demo = () => {
// @ts-ignore // @ts-ignore
return ( return (
<div style={{ height: '800px' }}> <div style={{ height: '800px' }}>
{!!dataSource.length && ( {/* {!!dataSource.length && (
// <BasicTable <BasicTable
// dataSource={dataSource} dataSource={dataSource}
// columns={columns} columns={columns}
// bordered={false} bordered={false}
// pagination={{ pageSize: 20, size: 'default' }} pagination={{ pageSize: 20, size: 'default' }}
// /> />
)} )} */}
{!dataSource.length && <Empty description={'暂无数据'} />} {!dataSource.length && <Empty description={'暂无数据'} />}
</div> </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