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
40136f62
authored
Jun 21, 2025
by
t0ng7u
Committed by
Apple\Apple
Jun 21, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
style: add `mt-2` style in ratio section
parent
c9712a0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
web/src/components/settings/RatioSetting.js
+1
-1
web/src/pages/Setting/Ratio/ModelRationNotSetEditor.js
+1
-1
web/src/pages/Setting/Ratio/ModelSettingsVisualEditor.js
+1
-1
No files found.
web/src/components/settings/RatioSetting.js
View file @
40136f62
...
@@ -82,7 +82,7 @@ const RatioSetting = () => {
...
@@ -82,7 +82,7 @@ const RatioSetting = () => {
<
Spin
spinning
=
{
loading
}
size
=
'large'
>
<
Spin
spinning
=
{
loading
}
size
=
'large'
>
{
/* 模型倍率设置以及可视化编辑器 */
}
{
/* 模型倍率设置以及可视化编辑器 */
}
<
Card
style
=
{{
marginTop
:
'10px'
}}
>
<
Card
style
=
{{
marginTop
:
'10px'
}}
>
<
Tabs
type
=
'
line
'
>
<
Tabs
type
=
'
card
'
>
<
Tabs
.
TabPane
tab
=
{
t
(
'模型倍率设置'
)}
itemKey
=
'model'
>
<
Tabs
.
TabPane
tab
=
{
t
(
'模型倍率设置'
)}
itemKey
=
'model'
>
<
ModelRatioSettings
options
=
{
inputs
}
refresh
=
{
onRefresh
}
/
>
<
ModelRatioSettings
options
=
{
inputs
}
refresh
=
{
onRefresh
}
/
>
<
/Tabs.TabPane
>
<
/Tabs.TabPane
>
...
...
web/src/pages/Setting/Ratio/ModelRationNotSetEditor.js
View file @
40136f62
...
@@ -372,7 +372,7 @@ export default function ModelRatioNotSetEditor(props) {
...
@@ -372,7 +372,7 @@ export default function ModelRatioNotSetEditor(props) {
return
(
return
(
<>
<>
<
Space
vertical
align
=
'start'
style
=
{{
width
:
'100%'
}}
>
<
Space
vertical
align
=
'start'
style
=
{{
width
:
'100%'
}}
>
<
Space
>
<
Space
className
=
'mt-2'
>
<
Button
icon
=
{
<
IconPlus
/>
}
onClick
=
{()
=>
setVisible
(
true
)}
>
<
Button
icon
=
{
<
IconPlus
/>
}
onClick
=
{()
=>
setVisible
(
true
)}
>
{
t
(
'添加模型'
)}
{
t
(
'添加模型'
)}
<
/Button
>
<
/Button
>
...
...
web/src/pages/Setting/Ratio/ModelSettingsVisualEditor.js
View file @
40136f62
...
@@ -404,7 +404,7 @@ export default function ModelSettingsVisualEditor(props) {
...
@@ -404,7 +404,7 @@ export default function ModelSettingsVisualEditor(props) {
return
(
return
(
<>
<>
<
Space
vertical
align
=
'start'
style
=
{{
width
:
'100%'
}}
>
<
Space
vertical
align
=
'start'
style
=
{{
width
:
'100%'
}}
>
<
Space
>
<
Space
className
=
'mt-2'
>
<
Button
<
Button
icon
=
{
<
IconPlus
/>
}
icon
=
{
<
IconPlus
/>
}
onClick
=
{()
=>
{
onClick
=
{()
=>
{
...
...
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