diff --git a/uniCloud/cloudfunctions/common/uni-im-ext/index.js b/uniCloud/cloudfunctions/common/uni-im-ext/index.js index aa4fd3973a57c814543f67641ed982fe794b953d..c113d16a50ea26cca30fa8ca31a95934940bdd46 100644 --- a/uniCloud/cloudfunctions/common/uni-im-ext/index.js +++ b/uniCloud/cloudfunctions/common/uni-im-ext/index.js @@ -200,7 +200,7 @@ let _registeredExtensionPointsPromise * @returns {any[]} 该扩展点上挂接的所有扩展程序各自的返回值拼装在一个数组里。 */ async function invokeExts(extensionPointName, ...args) { - isFsWritable = (this.getCloudInfo().provider === 'aliyun') + isFsWritable = (uniCloud.getCloudInfos().provider === 'aliyun') // 尝试从生成的缓存文件中加载 let registeredExtensionPoints