乘风
乘风

还有一个问题。 我现在自己写d.tsx文件,例如我给Button.js 写了一个Button.d.ts 并且使用它 import Button from 'rctui/Button'; 但是他会报错 ./node_modules/rctui/Button.js Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: D:\demo\environment\node_modules\rctui\Button.js: Unexpected token (32:11) 我的babel配置如下 "@babel/core": "^7.0.0", "@babel/plugin-transform-runtime": "^7.0.0", "@babel/polyfill": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react":...
因为看源码,rctui的按需加载是直接引用Button的,放到src目录下跟node_modules下是一样的。 我把错误复现放到了我的仓库上,如果作者有空的话,麻烦看一下,webpack4+babel7+tsx的一个环境。 在这里我说明一下,babel7支持typescript不再需要ts-loader 通过presets 的形式 "@babel/preset-typescript" 地址:https://github.com/Faithree/webpack-ci/tree/master/25-rctui
> ### bug的原因就是: > * index.js中调用接口地址明明是`/dy`, 结果readme中告诉别人用 `/douyin` > > ### 还有第二个问题,通过tools.js下载的时候,如果desc名字很长就会导致无法下载成功报错了。 > 我用的是这个分享链接 > > > https://v.douyin.com/JdngHhh/ 这个我好像可以,苹果系统
@CodiumAI-Agent /review
I also encountered a similar problem 1. I didn't see where to set the base_url in the custom model 2. A third-party model transfer platform compatible with open ai. I...