当我运行navigator.camera.getPicture函数时,相机在大约30秒后返回成功,有时更长。但是,当我再次点击相机按钮(再次运行navigator.camera.getPicture函数,而不捕捉镜头)时,它立即将控件返回到应用程序,并恢复应用程序的进程。getPicture函数: // On get photo success当我在getPicture函数的错误
picture using device camera and retrieve image as base64-encoded string navigator.camera.cleanup();
navigator.camera.getPicture(onPhotoDataSuccess, function fail
应用程序中点击图片,但我得到了以下错误 OrdercancelPage.html:24 ERROR TypeError: Object(...) is not a functionat t.invokeTask (polyfills.js:3) 我的代码是 getphoto(){
this.camera.getPicture