Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
11e76837
Commit
11e76837
authored
Jun 27, 2022
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改
parent
b4c1fd49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Basic.tsx
packages/base-components/rich/src/demos/Basic.tsx
+9
-9
No files found.
packages/base-components/rich/src/demos/Basic.tsx
View file @
11e76837
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* @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
>
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment