scan-code.js 140 B

1234567891011
  1. Page({
  2. scan() {
  3. my.scan({
  4. type: 'qr',
  5. success: (res) => {
  6. my.alert({ title: res.code });
  7. },
  8. });
  9. }
  10. })