下面是代码:
线上日志:
可以看出takePhoto执行了success回调,但是tempImagePath为null
线上报错如下:
[14:06:24] TypeError: Cannot read properties of null (reading 'indexOf')
at tp (https://lib/WAServiceMainContext.js:1:489208)
at YV (https://lib/WAServiceMainContext.js:1:893754)
at rG.set src [as src] (https://lib/WAServiceMainContext.js:1:957364)
Open ID : wx6e05413643c58f90_onKNJ5Rfu56uixARSeiKgBYFpizA