问答详情
源自:3-4 云存储(1)

点击上传图片会出错

VM451:1 Error: errCode: -401003 api parameter type error | errMsg: parameter.data should be object instead of undefined;
    at new u (WAService.js:1)
    at f (WAService.js:1)
    at i.<anonymous> (WAService.js:1)
    at WAService.js:1
    at Object.next (WAService.js:1)
    at WAService.js:1
    at new Promise (<anonymous>)
    at Module.l (WAService.js:1)
    at WAService.js:1
    at new Promise (<anonymous>)
console.error @ VM451:1
(anonymous) @ cloud.js? [sm]:129
Promise.catch (async)
success @ cloud.js? [sm]:122
(anonymous) @ WAService.js:1
a @ WAService.js:1
(anonymous) @ WAService.js:1
(anonymous) @ WAService.js:1
u @ WAService.js:1
(anonymous) @ WAService.js:1
Promise.then (async)
(anonymous) @ WAService.js:1
(anonymous) @ WAService.js:1
exportAPI.(anonymous function) @ WAService.js:1
success @ cloud.js? [sm]:116
o.(anonymous function) @ WAService.js:1
(anonymous) @ WAService.js:1
r @ WAService.js:1
(anonymous) @ WAService.js:1
v @ WAService.js:1
(anonymous) @ WAService.js:1
(anonymous) @ VM465 asdebug.js:1
(anonymous) @ WAService.js:1
(anonymous) @ WAService.js:1
setTimeout (async)
setTimeout @ WAService.js:1
(anonymous) @ VM465 asdebug.js:1
(anonymous) @ VM465 asdebug.js:1
(anonymous) @ VM465 asdebug.js:1
_ws.onmessage @ VM465 asdebug.js:1

提问者:cause笑 2020-02-19 10:19

个回答

  • 谢成
    2020-02-19 11:23:18

    http://img4.mukewang.com/5e4ca9f8000136e609270512.jpg

    其实把这句认真翻译一下就知道问题在哪了

    参数需要object,可是现在是undefined