这个出错是什么意思?
发布于 6 年前 作者 guiying11 6611 次浏览 来自 官方Issues

这个出错是什么意思呀

VM99:4 Fri Nov 08 2019 20:54:07 GMT+0800 (中国标准时间) sitemap 索引情况提示

VM67:1 thirdScriptError

app is not defined;at api cloud.callFunction success callback function

ReferenceError: app is not defined

    at Function.success (http://127.0.0.1:31334/appservice/pages/index/index.js:52:9)

    at Function.<anonymous> (WAService.js:1:102995)

    at WAService.js:1:166635

    at a (WAService.js:1:166366)

    at WAService.js:1:166613

    at WAService.js:1:279216

    at u (WAService.js:1:279220)

    at WAService.js:1:292673

console.error @ VM67:1

errorReport @ WAService.js:1

thirdErrorReport @ WAService.js:1

(anonymous) @ WAService.js:1

(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

adduser @ index.js? [sm]:59

r.safeCallback @ WAService.js:1

(anonymous) @ WAService.js:1

r @ WAService.js:1

(anonymous) @ WAService.js:1

(anonymous) @ WAService.js:1

n @ VM81 asdebug.js:1

(anonymous) @ VM81 asdebug.js:1

(anonymous) @ VM81 asdebug.js:1

_ws.onmessage @ VM81 asdebug.js:1

3 回复

app is not defined;at api cloud.callFunction success callback function;

在云函数调用成功的回调里 用了 app.xxx 这个 app未定义

找不到 app

谢谢回答,把App这一行删除了就可以了。

回到顶部