点击上传图片会出错

来源:3-4 云存储(1)

cause笑

2020-02-19 10:19

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

写回答 关注

1回答

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

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

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

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

轻松入门微信小程序与云开发

深入浅出微信小程序核心基础与云开发,使你掌握小程序开发必备技能。

64581 学习 · 1742 问题

查看课程

相似问题