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
acc94f3a
authored
Jul 23, 2023
by
JustSong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: adjust channel config page
parent
a186c850
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
web/src/pages/Channel/EditChannel.js
+14
-14
No files found.
web/src/pages/Channel/EditChannel.js
View file @
acc94f3a
...
...
@@ -215,20 +215,6 @@ const EditChannel = () => {
<
/Form.Field
>
)
}
{
inputs
.
type
!==
3
&&
inputs
.
type
!==
8
&&
(
<
Form
.
Field
>
<
Form
.
Input
label
=
'镜像'
name
=
'base_url'
placeholder
=
{
'此项可选,输入镜像站地址,格式为:https://domain.com'
}
onChange
=
{
handleInputChange
}
value
=
{
inputs
.
base_url
}
autoComplete
=
'new-password'
/>
<
/Form.Field
>
)
}
<
Form
.
Field
>
<
Form
.
Input
label
=
'名称'
...
...
@@ -354,6 +340,20 @@ const EditChannel = () => {
/
>
)
}
{
inputs
.
type
!==
3
&&
inputs
.
type
!==
8
&&
(
<
Form
.
Field
>
<
Form
.
Input
label
=
'镜像'
name
=
'base_url'
placeholder
=
{
'此项可选,输入镜像站地址,格式为:https://domain.com'
}
onChange
=
{
handleInputChange
}
value
=
{
inputs
.
base_url
}
autoComplete
=
'new-password'
/>
<
/Form.Field
>
)
}
<
Button
type
=
{
isEdit
?
"button"
:
"submit"
}
positive
onClick
=
{
submit
}
>
提交
<
/Button
>
<
/Form
>
<
/Segment
>
...
...
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