Commit d9793524 authored by triste's avatar triste Committed by 偏右

fixed the login component not pass the object children

parent ae2c5b6e
...@@ -113,9 +113,7 @@ class Login extends Component { ...@@ -113,9 +113,7 @@ class Login extends Component {
</Tabs> </Tabs>
{otherChildren} {otherChildren}
</React.Fragment> </React.Fragment>
) : ( ) : children}
[...children]
)}
</Form> </Form>
</div> </div>
</LoginContext.Provider> </LoginContext.Provider>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment