From a2d63b487138e084ca817825e154bde6e97076a5 Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Mon, 22 Nov 2021 14:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=85=AC=E5=8F=B8=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/system/account/add/adduserinfo/adduserinfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: [