Skip to content

Commit

Permalink
feat: set a initial value for upstream node
Browse files Browse the repository at this point in the history
  • Loading branch information
lixingwang committed Jul 13, 2021
1 parent 1e55aa3 commit 7b4812f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/components/Upstream/components/Nodes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const Component: React.FC<Props> = ({ readonly }) => {
message: formatMessage({ id: 'page.upstream.step.input.weight' }),
},
]}
initialValue={1}
>
<InputNumber
placeholder={formatMessage({ id: 'page.upstream.step.weight' })}
Expand Down

0 comments on commit 7b4812f

Please sign in to comment.