사용자 목록 작업중.
parent
babd8ac3e9
commit
e79432a0e1
|
|
@ -8,7 +8,7 @@ import Button from "react-bootstrap/Button";
|
|||
|
||||
function UserInfoModal({userSeq}){
|
||||
|
||||
const [userInfo, setUserInfo] = useState({ id: '', password: '', passwordChk: '', userNm: '', email: '', phoneNum: ''});
|
||||
const [userInfo, setUserInfo] = useState({ userId: '', password: '', passwordChk: '', userNm: '', email: '', phoneNum: ''});
|
||||
|
||||
function getModalContent(){
|
||||
EgovNet.requestFetch(
|
||||
|
|
@ -18,7 +18,7 @@ function UserInfoModal({userSeq}){
|
|||
},
|
||||
(resp) => {
|
||||
const respInfo = {
|
||||
id: resp.result.userInfo.userId,
|
||||
userId: resp.result.userInfo.userId,
|
||||
userNm: resp.result.userInfo.userNm,
|
||||
email: resp.result.userInfo.email,
|
||||
phoneNum: resp.result.userInfo.phoneNum,
|
||||
|
|
@ -55,8 +55,8 @@ function UserInfoModal({userSeq}){
|
|||
아이디
|
||||
</Form.Label>
|
||||
<Col sm={9}>
|
||||
<Form.Control type="text" name="id" placeholder="아이디" required value={userInfo?.id}
|
||||
onChange={e => setUserInfo({ ...userInfo, id: e.target.value })}/>
|
||||
<Form.Control type="text" name="userId" placeholder="아이디" required value={userInfo?.userId}
|
||||
onChange={e => setUserInfo({ ...userInfo, userId: e.target.value })}/>
|
||||
</Col>
|
||||
</Form.Group>
|
||||
<Form.Group as={Row} className="mb-3" controlId="formHorizontalEmail">
|
||||
|
|
|
|||
Loading…
Reference in New Issue