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
83dc4982
authored
Jul 04, 2025
by
t0ng7u
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🖼
️ style(RatioSync): remove the useless `rounded-full` style
parent
d03c1f4b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
web/src/components/settings/ChannelSelectorModal.js
+0
-1
web/src/pages/Setting/Ratio/UpstreamRatioSync.js
+4
-5
No files found.
web/src/components/settings/ChannelSelectorModal.js
View file @
83dc4982
...
@@ -197,7 +197,6 @@ const ChannelSelectorModal = forwardRef(({
...
@@ -197,7 +197,6 @@ const ChannelSelectorModal = forwardRef(({
value
=
{
searchText
}
value
=
{
searchText
}
onChange
=
{
setSearchText
}
onChange
=
{
setSearchText
}
showClear
showClear
className
=
"!rounded-full"
/>
/>
<
Table
<
Table
...
...
web/src/pages/Setting/Ratio/UpstreamRatioSync.js
View file @
83dc4982
...
@@ -373,7 +373,7 @@ export default function UpstreamRatioSync(props) {
...
@@ -373,7 +373,7 @@ export default function UpstreamRatioSync(props) {
<
div
className
=
"flex flex-col md:flex-row gap-2 w-full md:w-auto order-2 md:order-1"
>
<
div
className
=
"flex flex-col md:flex-row gap-2 w-full md:w-auto order-2 md:order-1"
>
<
Button
<
Button
icon
=
{
<
RefreshCcw
size
=
{
14
}
/>
}
icon
=
{
<
RefreshCcw
size
=
{
14
}
/>
}
className
=
"
!rounded-full
w-full md:w-auto mt-2"
className
=
"w-full md:w-auto mt-2"
onClick
=
{()
=>
{
onClick
=
{()
=>
{
setModalVisible
(
true
);
setModalVisible
(
true
);
if
(
allChannels
.
length
===
0
)
{
if
(
allChannels
.
length
===
0
)
{
...
@@ -393,7 +393,7 @@ export default function UpstreamRatioSync(props) {
...
@@ -393,7 +393,7 @@ export default function UpstreamRatioSync(props) {
type
=
'secondary'
type
=
'secondary'
onClick
=
{
applySync
}
onClick
=
{
applySync
}
disabled
=
{
!
hasSelections
}
disabled
=
{
!
hasSelections
}
className
=
"
!rounded-full
w-full md:w-auto mt-2"
className
=
"w-full md:w-auto mt-2"
>
>
{
t
(
'应用同步'
)}
{
t
(
'应用同步'
)}
<
/Button
>
<
/Button
>
...
@@ -406,7 +406,7 @@ export default function UpstreamRatioSync(props) {
...
@@ -406,7 +406,7 @@ export default function UpstreamRatioSync(props) {
placeholder
=
{
t
(
'搜索模型名称'
)}
placeholder
=
{
t
(
'搜索模型名称'
)}
value
=
{
searchKeyword
}
value
=
{
searchKeyword
}
onChange
=
{
setSearchKeyword
}
onChange
=
{
setSearchKeyword
}
className
=
"
!rounded-full
w-full sm:w-64"
className
=
"w-full sm:w-64"
showClear
showClear
/>
/>
...
@@ -414,7 +414,7 @@ export default function UpstreamRatioSync(props) {
...
@@ -414,7 +414,7 @@ export default function UpstreamRatioSync(props) {
placeholder
=
{
t
(
'按倍率类型筛选'
)}
placeholder
=
{
t
(
'按倍率类型筛选'
)}
value
=
{
ratioTypeFilter
}
value
=
{
ratioTypeFilter
}
onChange
=
{
setRatioTypeFilter
}
onChange
=
{
setRatioTypeFilter
}
className
=
"
!rounded-full
w-full sm:w-48"
className
=
"w-full sm:w-48"
showClear
showClear
onClear
=
{()
=>
setRatioTypeFilter
(
''
)}
onClear
=
{()
=>
setRatioTypeFilter
(
''
)}
>
>
...
@@ -704,7 +704,6 @@ export default function UpstreamRatioSync(props) {
...
@@ -704,7 +704,6 @@ export default function UpstreamRatioSync(props) {
scroll
=
{{
x
:
'max-content'
}}
scroll
=
{{
x
:
'max-content'
}}
size
=
'middle'
size
=
'middle'
loading
=
{
loading
||
syncLoading
}
loading
=
{
loading
||
syncLoading
}
className
=
"rounded-xl overflow-hidden"
/
>
/
>
);
);
};
};
...
...
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