Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_web_vue
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
张伯涛
91isoft_web_vue
Commits
2d3740fe
Commit
2d3740fe
authored
Mar 11, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照函数添加传参subPath
parent
bd8b9c47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
index.vue
src/views/setup/index.vue
+3
-0
No files found.
src/views/setup/index.vue
View file @
2d3740fe
...
...
@@ -58,6 +58,7 @@ export default {
console
.
log
(
'调用前'
,
getToken
())
const
params
=
{
flag
:
'openCamera'
,
subPath
:
'openCamera'
,
tokenMsg
:
getToken
()
}
this
.
$WebView
.
openCamera
(
params
).
then
(
res
=>
{
...
...
@@ -69,6 +70,7 @@ export default {
/** 拍照取相册按钮*/
handleTakePhotosAlbum
()
{
const
params
=
{
subPath
:
'openCameraStorage'
,
tokenMsg
:
getToken
()
}
this
.
$WebView
.
openCameraStorage
(
params
).
then
(
res
=>
{
...
...
@@ -79,6 +81,7 @@ export default {
/** 全部实现功能(带相机,相册,文件资源功能)*/
handlePpenCameraAll
()
{
const
params
=
{
subPath
:
'openCameraAll'
,
tokenMsg
:
getToken
()
}
this
.
$WebView
.
openCameraAll
(
params
).
then
(
res
=>
{
...
...
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