tianxiawuzhe YIF @Charles: 这个调用如果使用layaIDE调试或直接使用chrome调试,会报【cannot read property 'login' of undefined】这种错误,只需要把代码发布后,用微信小工具打开调试,就没问题了。