Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_scan
Project
Project
Details
Activity
Releases
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
android
uniapp_scan
Commits
d93a78aa
Commit
d93a78aa
authored
Jun 11, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
84e16546
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
measurescan.vue
scan/pagesC/measurescan/measurescan.vue
+4
-3
scan.vue
scan/pagesC/scan/scan.vue
+9
-5
No files found.
scan/pagesC/measurescan/measurescan.vue
View file @
d93a78aa
...
@@ -111,9 +111,10 @@
...
@@ -111,9 +111,10 @@
},
},
error
(
e
)
{
error
(
e
)
{
console
.
log
(
e
.
detail
);
console
.
log
(
e
.
detail
);
if
(
e
.
errNo
==
10200
)
{
this
.
showCamera
=
false
this
.
showCamera
=
false
this
.
goAuthSetting
()
this
.
goAuthSetting
()
}
},
},
goAuthSetting
()
{
goAuthSetting
()
{
tt
.
showModal
({
tt
.
showModal
({
...
...
scan/pagesC/scan/scan.vue
View file @
d93a78aa
...
@@ -149,17 +149,21 @@
...
@@ -149,17 +149,21 @@
})
})
},
},
fail
:
(
res
)
=>
{
fail
:
(
res
)
=>
{
setTimeout
(()
=>
{
if
(
e
.
errNo
==
10200
)
{
that
.
goAuthSetting
()
setTimeout
(()
=>
{
},
500
)
that
.
goAuthSetting
()
},
500
)
}
}
}
});
});
},
},
error
(
e
)
{
error
(
e
)
{
console
.
log
(
e
.
detail
);
console
.
log
(
e
.
detail
);
this
.
showCamera
=
false
if
(
e
.
errNo
==
10200
)
{
this
.
goAuthSetting
()
this
.
showCamera
=
false
this
.
goAuthSetting
()
}
},
},
goAuthSetting
()
{
goAuthSetting
()
{
tt
.
showModal
({
tt
.
showModal
({
...
...
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