Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
394b0abc
authored
Nov 27, 2023
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复渠道页面出现多个分页组件的bug
parent
294dc8d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
web/src/components/ChannelsTable.js
+0
-21
No files found.
web/src/components/ChannelsTable.js
View file @
394b0abc
...
@@ -483,16 +483,6 @@ const ChannelsTable = () => {
...
@@ -483,16 +483,6 @@ const ChannelsTable = () => {
>
>
测试
测试
<
/Button
>
<
/Button
>
{
/*<Button*/
}
{
/* size={'small'}*/
}
{
/* positive*/
}
{
/* loading={updatingBalance}*/
}
{
/* onClick={() => {*/
}
{
/* updateChannelBalance(channel.id, channel.name, idx);*/
}
{
/* }}*/
}
{
/*>*/
}
{
/* 更新余额*/
}
{
/*</Button>*/
}
<
Popup
<
Popup
trigger
=
{
trigger
=
{
<
Button
size
=
'small'
negative
>
<
Button
size
=
'small'
negative
>
...
@@ -580,17 +570,6 @@ const ChannelsTable = () => {
...
@@ -580,17 +570,6 @@ const ChannelsTable = () => {
确认删除
确认删除
<
/Button
>
<
/Button
>
<
/Popup
>
<
/Popup
>
<
Pagination
floated
=
'right'
activePage
=
{
activePage
}
onPageChange
=
{
onPaginationChange
}
size
=
'small'
siblingRange
=
{
1
}
totalPages
=
{
Math
.
ceil
(
channels
.
length
/
ITEMS_PER_PAGE
)
+
(
channels
.
length
%
ITEMS_PER_PAGE
===
0
?
1
:
0
)
}
/
>
<
Button
size
=
'small'
onClick
=
{
refresh
}
loading
=
{
loading
}
>
刷新
<
/Button
>
<
Button
size
=
'small'
onClick
=
{
refresh
}
loading
=
{
loading
}
>
刷新
<
/Button
>
<
/Table.HeaderCell
>
<
/Table.HeaderCell
>
...
...
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