mimeng

我们希望在一个小程序里控制多个应用,每个应用在leanCloud都是一个独立应用,有自己的appid。 我们在小程序里进入每个应用控制时,会调用AV.init,类似如下: const AV = require('../../../libs/av-weapp-min'); //xxxxx代替实际的id,这里隐藏了 var appId = 'xxxxxxxxxxxxxxx'; var appKey = 'xxxxxxxxxx'; AV.init({ appId: appId, appKey: appKey, }); 但是超过2个AV.init时,系统就会提示:Uncaught Error: SDK…