Commit e2ebd74b by zhujian

‘fix:通讯录优化1’

parent e839a37a
...@@ -48,6 +48,7 @@ export default class WechatApi { ...@@ -48,6 +48,7 @@ export default class WechatApi {
resolve(res); resolve(res);
}, },
fail: (err) => { fail: (err) => {
console.log(1213545344545)
console.log(err, 'err-agentconfig'); console.log(err, 'err-agentconfig');
reject(err); reject(err);
}, },
......
...@@ -16,19 +16,21 @@ export default class WechatApi { ...@@ -16,19 +16,21 @@ export default class WechatApi {
signature: res.signature, signature: res.signature,
jsApiList: ['startLiving','downloadLivingReplay'], jsApiList: ['startLiving','downloadLivingReplay'],
success: function(res) { success: function(res) {
console.log('agentConfig注册成功')
console.log(res,'agentConfig') console.log(res,'agentConfig')
}, },
fail: function(res) { fail: function(res) {
console.log(res,' agentConfig 错误') console.log(res,' agentConfig1 错误')
if(res.errMsg.indexOf('function not exist') > -1){ if(res.errMsg.indexOf('function not exist') > -1){
alert('版本过低请升级') alert('版本过低请升级')
} }
}, },
complete:(res)=>{ complete:(res)=>{
console.log(res,' agentConfig 错误') console.log(res,' agentConfig2 错误')
} }
} }
console.log(conf) console.log(conf)
wx.agentConfig(conf); wx.agentConfig(conf);
}); });
// } // }
......
...@@ -159,10 +159,10 @@ function EmployeeManage() { ...@@ -159,10 +159,10 @@ function EmployeeManage() {
/> />
)} )}
<span className="title">{val}</span> {/* <span className="title">{val}</span> */}
{/* <span className="title"> <span className="title">
<WWOpenDataCom type="userName" openid={val}/> <WWOpenDataCom type="userName" openid={val}/>
</span> */} </span>
</div> </div>
); );
}, },
......
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