蜡笔小鑫
蜡笔小鑫
  • 发布:2023-04-12 09:48
  • 更新:2023-04-12 11:16
  • 阅读:163

本地运行正常,编译发布h5后报错

分类:uniCloud

在hbx中运行一切正常,编辑发布到前端网页托管运行就报错。报错的代码是:db.collection("jxm-nas").doc(${id}).get(),错误信息是:

{"success":true,"data":{"code":"SYSTEM_ERROR","errCode":"SYSTEM_ERROR","message":"Unexpected token .","errMsg":"Unexpected token .","systemInfo":[]},"header":{"x-serverless-request-id":"ac1cc3041681263578887111789","x-serverless-runtime-version":"2.0.5","x-fc-code-checksum":"10934852359556265775","access-control-expose-headers":"Date,x-fc-request-id,x-fc-error-type,x-fc-code-checksum,x-fc-invocation-duration,x-fc-max-memory-usage,x-fc-log-result,x-fc-invocation-code-version","x-fc-invocation-service-version":"LATEST","x-fc-instance-id":"c-64360b7f-ee8b8238dfbe47c0a3f5","content-length":"274","date":"Wed, 12 Apr 2023 01:39:38 GMT","x-fc-request-id":"1-64360bda-aa9fecc42c11d25a5a70abda","x-fc-max-memory-usage":"32.54","x-fc-invocation-duration":"7","content-type":"application/octet-stream","x-serverless-http-status":"200"}}
2023-04-12 09:48 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

请提供更多的代码信息

要回复问题请先登录注册