nat icon indicating copy to clipboard operation
nat copied to clipboard

reportJSException >>>> instanceId:2, exception function:callJS, exception:Exception: TypeError: null is not an object (evaluating 't.path')

Open wazsq opened this issue 8 years ago • 2 comments

require('natjs').camera.captureImage({}, (err, ret) => { this.turl_path = ret.path; });

这是我的js代码,第一次触发这个事件的时候正常打开照相机,但是this.url获取不到,之后再触发这个事件,报如下错误。

reportJSException >>>> instanceId:2, exception function:callJS, exception:Exception: TypeError: null is not an object (evaluating 't.path') (global function):5:828 (global function):5:2515 f@(weex framework):3:30852 (weex framework):3:31099 forEach@[native code] d@(weex framework):3:30998 (weex framework):8:22648

拜托大佬解答

wazsq avatar Oct 19 '17 12:10 wazsq

目测没有安装camera插件,请提供更完整的信息

acathur avatar Oct 23 '17 08:10 acathur

please speak english . all over the world try to understand what is going on. Not only chines or americans

snrtbnc avatar Feb 13 '18 11:02 snrtbnc