云函数调用页面收录异常Error: errCode: -501001?
Error: errCode: -501001 resource system error | errMsg: openapi.search.submitPages:fail source.on is not a function; at openapi.search.submitPages api;
at returnAsCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6052:16)
at Object.returnAsFinalCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6066:15)
at callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2268:27)
at <anonymous>