Commit 2d3740fe authored by 张伯涛's avatar 张伯涛

拍照函数添加传参subPath

parent bd8b9c47
......@@ -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 => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment