Dean
Dean
网站链接:https://dapanso.com 网站标题:大盘搜,大大的盘任你搜
@Chen-jj 1、只有开发者工具报警告; 2、报错地方的组件无法正常显示; 3、dist目录存在对应生成文件; 4、usingComponents正确配置了wrapper comp; 56、重启开发者工具、taro重编译、node_modules重装 后小概率解决(大概 1:10 ) 引用第三方组件报错: https://github.com/AntmJS/vantui/issues/332#issue-1347470072 以下临时方案可以解决 在 index.config.ts 里面临时加了以下代码解决 ``` usingComponents: { 'custom-wrapper': '/custom-wrapper', } ``` _Originally posted by @brickspert in https://github.com/NervJS/taro/issues/12239#issuecomment-1214312079_
> @Deain Webpack5 么? > > > 重启开发者工具、taro重编译、node_modules重装 后小概率解决(大概 1:10 ) > > 这是同时做的还是控制了变量? 控制变量,因为一开始是好的,中间写着写着,某一次编译完后就报错了,就一个一个尝试的。 当然后面也同时一起处理过,还是没效果。 期间也尝试过升降级taro版本 webpack5、taro3.5.4/3.5.3
> > > @Deain Webpack5 么? > > > > 重启开发者工具、taro重编译、node_modules重装 后小概率解决(大概 1:10 ) > > > > > > > > > 这是同时做的还是控制了变量? > > > > > >...
@Chen-jj 但是我发现,在config.ts中写的楼上的可用代码,哪怕路径乱写,都能够解决这个问题 ``` usingComponents: { 'custom-wrapper': '.././../../custom-wrapper', } ```
> @Deain 哪个 config.ts ? 另外能发一下出错时的包吗 就 `app.config.ts` , 跟包关系应该不大,因为在 `app.config.ts` 里面加了 `usingComponents:{custom-wrapper}` 就可以运行了
修改result运行在主线程,自定义MainThreadResult类实现MethodChannel.Result接口 ```java class MainThreadResult implements MethodChannel.Result { private MethodChannel.Result result; private Handler handler; MainThreadResult(MethodChannel.Result result) { this.result = result; handler = new Handler(Looper.getMainLooper()); } @Override public void success(final Object o)...
网站链接:https://dapanso.com/ 网站标题:大盘搜,大大的盘任你搜 更新了免登录查看资源
[geolib](https://github.com/manuelbieh/Geolib)
> 不是我发布的,我看了一下是东软拿过去改了下,然后他发布的 鄙视他们