Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
luqiao-app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨子
luqiao-app
Commits
87317037
Commit
87317037
authored
May 22, 2019
by
杨子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test commit
parent
6aae595e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
qr-scan.component.ts
src/app/routes/check/qrScan/qrScan/qr-scan.component.ts
+0
-17
No files found.
src/app/routes/check/qrScan/qrScan/qr-scan.component.ts
View file @
87317037
...
@@ -14,23 +14,6 @@ export class QrScanComponent implements OnInit, OnDestroy, AfterViewInit {
...
@@ -14,23 +14,6 @@ export class QrScanComponent implements OnInit, OnDestroy, AfterViewInit {
private
barcodeScanner
:
BarcodeScanner
private
barcodeScanner
:
BarcodeScanner
)
{}
)
{}
ngOnInit
():
void
{
ngOnInit
():
void
{
// let options: ZBarOptions = {
// flash: "off",
// drawSight: false
// };
// this.zbar
// .scan(options)
// .then(result => {
// console.log(result); // Scanned code
// const id = result.match(/(\w+)$/g)[0];
// console.log(id);
// this.loadingToast(id);
// })
// .catch(error => {
// console.log(error); // Error message
// this.showToast();
// });
this
.
barcodeScanner
this
.
barcodeScanner
.
scan
()
.
scan
()
.
then
(
result
=>
{
.
then
(
result
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment