7***@qq.com
7***@qq.com
  • 发布:2021-09-28 15:21
  • 更新:1 天前
  • 阅读:54

【报Bug】合并请求 multiSend 本地调试错误

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: window10

HBuilderX类型: Alpha

HBuilderX版本号: 3.2.8

操作步骤:

连接本地云函数,使用 multiSend 请求

预期结果:

正常返回结果

实际结果:

VM871 WAService.js:2 Unhandled promise rejection Error: Cannot read property 'split' of undefined
at success (vendor.js?t=wechat&s=1632791360758&v=5224bf2ba7d298ec71dc6c437245dcb5:4831)
at Function.forEach.s. (VM871 WAService.js:2)
at u (VM871 WAService.js:2)
at VM871 WAService.js:2
at u (VM871 WAService.js:2)
at r. (VM871 WAService.js:2)
at u (VM871 WAService.js:2)
at VM871 WAService.js:2
at VM871 WAService.js:2
at VM871 WAService.js:2(env: Windows,mp,1.05.2106300; lib: 2.19.4)

bug描述:

连接本地云函数,使用 multiSend 会发生错误

2.3.6 版本可以正常使用

14:59:20.698 [本地调试]"收到clientDB multiSend请求:表名:ppy-order;表名:ppy-aftersale-order"
14:59:20.736 [本地调试]TypeError: Cannot read property 'split' of undefined
14:59:20.743 [本地调试] at C:\soft\HBuilderX\plugins\unicloud\internal-functions\DCloud-clientDB\uni-curd\index.js:1:15002
14:59:20.743 [本地调试] at Array.forEach ()
14:59:20.748 [本地调试] at getUsedActionList (C:\soft\HBuilderX\plugins\unicloud\internal-functions\DCloud-clientDB\uni-curd\index.js:1:14966)
14:59:20.749 [本地调试] at e.exports (C:\soft\HBuilderX\plugins\unicloud\internal-functions\DCloud-clientDB\uni-curd\index.js:1:206748)
14:59:20.756 [本地调试] at Object.exports.main (C:\soft\HBuilderX\plugins\unicloud\internal-functions\DCloud-clientDB\index.js:1:77)
14:59:20.764 [本地调试] at s (C:\soft\HBuilderX\plugins\unicloud\tcb\serve.js:1:1425)
14:59:20.765 [本地调试] at uniCloudSecret (C:\soft\HBuilderX\plugins\unicloud\tcb\serve.js:1:2780)
14:59:20.772 [本地调试] at h (C:\soft\HBuilderX\plugins\unicloud\tcb\serve.js:1:2894)
14:59:20.780 [本地调试] at module.exports (C:\soft\HBuilderX\plugins\unicloud\tcb\serve.js:1:7111)
14:59:20.781 [本地调试] at module.exports.exec (C:\soft\HBuilderX\plugins\unicloud\server\controller\cloudfunctions.js:1:1416)

2021-09-28 15:21 负责人:无 分享
已邀请:
m***@163.com

m***@163.com

顶,我也是这个问题,排查了半天,切换上一个版本就正常无误,切换至最新版就出现“Cannot read property 'split' of undefined”这个错误

幻飞鱼

幻飞鱼

Cannot read property 'split' of undefined”我也是这个报错,排查了半天
切换到云端的云函数就好了

5***@qq.com

5***@qq.com

我也是这个问题啊。求解啊!
切换到云端的云函数太费流量了,很快免费流量就用完了哦。

l***@163.com

l***@163.com

问题解决没

要回复问题请先登录注册