- Tuya MiniApp Tools 版本信息:0.6.6; Minipack: 2.0.1
- @ray-js/ray, @ray-js/panel-sdk的版本:1.5.12, 1.10.9
- 移动设备信息:oppo 安卓~
- 相关代码:
Code: Select all
const getTotalTime = () => {
getStatisticsRangDay({
devId:'6c42b12a15fab0c041c3b6',
dpId: 120,
startDay: '20240730',
endDay: '20240731',
type: 'minux',
}).then(res => {
console.log(res, 'getStatisticsRangDay');
});
}
Code: Select all
- 日志信息:
Code: Select all
service.js?side=service:3 SyntaxError: Uncaught (in promise) [object Object] (at service.js?side=service:3:386290)
at new Be (service.js?side=service:3:386290)
at Be.then (service.js?side=service:3:387583)
at getTotalTime (index.tsx:159:8)
at index.tsx:166:5
at invokePassiveEffectCreate (react-reconciler.development.js:16054:20)
at Object.invokeGuardedCallbackProd (react-reconciler.development.js:12101:10)
at invokeGuardedCallback (react-reconciler.development.js:12292:31)
at flushPassiveEffectsImpl (react-reconciler.development.js:16141:9)
at unstable_runWithPriority (scheduler.development.js:468:12)
at runWithPriority (react-reconciler.development.js:2495:10)
调用报错,请问这是什么问题?