右键uni-push-co[uni-push-admin:uni-module]上传并运行,报错,而且提示信息很不友好。
Method name required
Error: Method name required
at (/tmp/function/__index.js:1:1296)
at o (/tmp/function/__index.js:1:1399)
at c (/tmp/function/__index.js:1:1547)
at i (/tmp/function/__index.js:1:2331)
at exports.main (/tmp/function/__index.js:1:2795)
at z (/tmp/function/index.js:1:23385)
at ee (/tmp/function/index.js:1:24037)
at de (/tmp/function/index.js:1:24976)
at runUserFunction (/code/index.js:98:271594)
at (<anonymous>)
1 个回复
DCloud_uniCloud_WYQ
我们优化下这个提示,需要指明调用云对象的哪个方法才可以运行,参考:https://uniapp.dcloud.net.cn/uniCloud/rundebug.html#run-obj-param