Skip to content

v3.0.10

Compare
Choose a tag to compare
@JasonBoy JasonBoy released this 17 Nov 03:42
· 201 commits to master since this release
  • add getOriginalWx and setOriginWx in client.js to get or set the original wx object to instance
  • the instance will be passed to success and error callback as the last arg, since when people use the arrow function, this will be lost:
{
  success: w => {console.log(w.getOriginalWx())},
  error: (err, w) => {console.log(w.getOriginalWx())},
}
  • demo updates to use getter above and other minor fixes