1
 var auth = {
  username: 'user',
  password: 'password'
};

application.authenticateAccount(auth, function(err, result) {

  result.getAccount(function(err, account) {
    console.log('Account:', account);
  });
};

我收到错误类型错误:无法读取未定义的属性“getAccount”

4

1 回答 1

1

authenticateAccount回调中,是否有错误?console.log(err)看起来像什么?

于 2016-03-01T17:21:43.740 回答