diff --git a/src/pages/system/account/add/adduserinfo/adduserinfo.js b/src/pages/system/account/add/adduserinfo/adduserinfo.js index 9332c888..18bb3d8e 100644 --- a/src/pages/system/account/add/adduserinfo/adduserinfo.js +++ b/src/pages/system/account/add/adduserinfo/adduserinfo.js @@ -55,6 +55,7 @@ export default class adduserinfo extends React.Component{ post:{key:acceptData.job.id,text:acceptData.job.job_name}, station:{key:acceptData.role.id,text:acceptData.role.role_name}, } + console.log(58,data); let img={} img.src=acceptData.head; this.setState({model:data,disabled:true,defaultFileList:[img],id:acceptData.id,headImg:acceptData.head}); @@ -129,7 +130,7 @@ export default class adduserinfo extends React.Component{ //选择图片 onUploadChange(files){ this.setState({uploadimgFile:files}); - console.log(files); + }; //点击上传头像按钮 upImgBtn(){ @@ -265,7 +266,6 @@ export default class adduserinfo extends React.Component{ }); } render(){ - console.log(this.state.roleList); //校验规则 const rules = { account: [