Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
dadf240d
Commit
dadf240d
authored
Aug 28, 2023
by
renjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlog扫脸摄像头不初始化bug处理
parent
1fe7b4d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vlogface.vue
pages/vlog/vlogface/vlogface.vue
+3
-1
No files found.
pages/vlog/vlogface/vlogface.vue
View file @
dadf240d
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
<view
class=
"bg"
>
<view
class=
"bg"
>
<image
src=
"../../../static/img/vlog/icon/camera.png"
></image>
<image
src=
"../../../static/img/vlog/icon/camera.png"
></image>
</view>
</view>
<camera
class=
"camera"
device-position=
"front"
flash=
"off"
@
error=
"error"
@
initdone=
"initdone"
></camera>
<camera
class=
"camera"
device-position=
"front"
flash=
"off"
@
error=
"error"
></camera>
<!--
<camera
class=
"camera"
device-position=
"front"
flash=
"off"
@
error=
"error"
@
initdone=
"initdone"
></camera>
-->
<view
class=
"surface"
v-show=
"show"
>
<view
class=
"surface"
v-show=
"show"
>
<view>
请正对镜头
</view>
<view>
请正对镜头
</view>
<text>
{{
text
}}
</text>
<text>
{{
text
}}
</text>
...
@@ -47,6 +48,7 @@ export default {
...
@@ -47,6 +48,7 @@ export default {
}
}
},
},
onLoad
()
{
//代替 vue 里面的 created
onLoad
()
{
//代替 vue 里面的 created
this
.
initdone
()
},
},
onReady
()
{
//代替 vue 里面的 mounted
onReady
()
{
//代替 vue 里面的 mounted
},
},
...
...
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