Parcourir la source

chore: modify index.js listobject api

luozhang002 il y a 5 ans
Parent
révision
55b1aaa795
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      index.js

+ 2
- 2
index.js Voir le fichier

@@ -143,8 +143,8 @@ export default AliyunOSS = {
143 143
      * Asynchronously getAsyncObjects
144 144
      */
145 145
 
146
-    asyncListObjects (bucketName,prefix='') {
147
-        return RNAliyunOSS.asyncListObjects(bucketName,prefix,)
146
+    asyncListObjects (bucketName,options) {
147
+        return RNAliyunOSS.asyncListObjects(bucketName,options)
148 148
     },
149 149
 
150 150