引入uni-ai时候,云函数运行报错
TypeError: require(...).main is not a function
at Q (/tmp/function/index.js:1:24430)
at z (/tmp/function/index.js:1:25493)
at ce (/tmp/function/index.js:1:26463)
at runUserFunction (/code/index.js:93:265042)
at (/code/index.js:93:259252)
l***@163.com
- 发布:2024-04-07 13:49
- 更新:2024-04-07 13:50
- 阅读:146
1 个回复
l***@163.com (作者) - lixin
module.exports = {
_before: function() { // 通用预处理器
}