使用官方腾讯云OCR文字识别demo文件时正常,但是复制到自己开发文档后电脑端预览正常,但是手机端预览时出错
error:
"<Error: module 'exportToOcrPlugin.js' is
not defined, require args is
"exportToOcrPlugin.js'>
电脑端测试 正常
使用的OCR插件
https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wxe567a849ff4f3f53
这个报错是exportToOcrPlugin.js引入失败,手机端移除小程序,重新扫码预览