Browse Source

chore: modify index.js listobject api

luozhang002 6 years ago
parent
commit
f617ea5e52
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      index.js

+ 2
- 2
index.js View File

@@ -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