seho
seho
首先你要知道unicloud的原理, 既然是prod生产, 你就应该上传云函数, 而不是本地执行, 如果你要本地执行就得npm install; 云函数在云上也是要安装依赖的, 所以你试试上传并且运行云函数
> dev环境下快捷使用_add创建API,报错 `no such file or directory, open '/Users/toybaba/Desktop/多商户管理系统admin/src/api/_add/proto.ts'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/Users/toybaba/Desktop/多商户管理系统admin/src/api/_add/proto.ts' }` 我这里应该没有复现, 我晚上回去试试, 是mac么, 我之前测试过, 是可以的
我在公司没办法试, 我回家看看, 你可以提pr么
我windows support还没做完, windows我远程调试太痛苦了
> * 一个轮训 轮询也要请求吧,不是主动吧
> > > * 一个轮训 > > > > > > 轮询也要请求吧,不是主动吧 > > 轮询是定时去服务器端请求数据,不管有没有新数据都会请求。并不算主动推送 是的,没错
We may deprecate or discard the instruct parameter for redefining routes, as we recommend that you specify the method in the filename. In addition, proto will receive a major update,...
AutoImport function is provided by `unImport `, you can add dependencies for auto import in `sword.config.ts`, for example, I export a library function like this: ```ts autoImport: { presets: [...
The current version of sword.js does not support parameterized routing, which means that if a user requests /api/hello/foo, they will only get the API logic for /api/hello and won't be...