我引入了opencv.js到小程序项目就报错,看来是不支持了。
thirdScriptError
sdk uncaught third Error
Module is not defined
ReferenceError: Module is not defined
at http://127.0.0.1:61386/appservice/utils/opencv.js:5426:45
at _scriptDir (http://127.0.0.1:61386/appservice/utils/opencv.js:15:22)
at http://127.0.0.1:61386/appservice/utils/opencv.js:20:3
at require (http://127.0.0.1:61386/appservice/__dev__/WAService.js:23:13564)
at http://127.0.0.1:61386/appservice/__dev__/WAService.js:23:13171
at http://127.0.0.1:61386/appservice/pages/tryColorDetail/tryColorDetail.js:10:10
at require (http://127.0.0.1:61386/appservice/__dev__/WAService.js:23:13564)
at <anonymous>:35:7
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:61386/appservice/appservice?t=1539310088538:5134:23)