项目使用的是uniapp vue3 的工程,之前是运行在微信小程序生态,以及H5,现在使用原生android集成uniMpSDK,想让小程序能运行在我们自己的app内
使用sdk打开小程序报错,打开官方的vue2 的demo是正常的,vue3的报错如下
2024-12-11 21:28:36.641 27945-27990 WeexCore com.xxxxxx E weex_runtime_v2_v8.cpp:528, createInstanceContext and ExecuteJavaScript Error :Uncaught TypeError: (void 0) is not a function
at (app-service.js:8:1374)
at (app-service.js:42:514063)
2024-12-11 21:28:36.642 27772-27869 weex com.xxxx E reportJSException >>>> instanceId:1, exception function:createInstanceContext, exception:Uncaught TypeError: (void 0) is not a function
at (app-service.js:8:1374)
at (app-service.js:42:514063)
2024-12-11 21:28:36.644 27772-27869 weex com.xxxx E onJSException -9700,Uncaught TypeError: (void 0) is not a function
at (app-service.js:8:1374)
at (app-service.js:42:514063)
2024-12-11 21:28:36.645 27772-27869 weex com.xxxxx E commitCriticalExceptionRT :WX_RENDER_ERR_JS_CREATE_INSTANCE_CONTEXTexceptionwhite screen cause create instanceContext failed,check js stack ->Uncaught TypeError: (void 0) is not a function
at (app-service.js:8:1374)
at (app-service.js:42:514063)
0 个回复