uni-app 云存储提交文件时间报错 Error: [INVALID_OPERATION] [100007] this env is not enable anonymous login

uni-app 云存储提交文件时间报错 Error: [INVALID_OPERATION] [100007] this env is not enable anonymous login 产品分类:uniCloud/腾讯云

bug描述:

云存储提交文件时间报错 Error: [INVALID_OPERATION] [100007] this env is not enable anonymous login

示例代码:

uniCloud.uploadFile({  
                        filePath: file.path,  
                        cloudPath: path,  
                        fileType: type,  
                        onUploadProgress:function(progressEvent) {  
                            console.log(progressEvent);  
                            var percentCompleted = Math.round(  
                                (progressEvent.loaded * 100) / progressEvent.total  
                            );  
                        },  
                        success(res){  
                            console.log(res);  
                        },  
                        fail() {  
                        },  
                    })

更多关于uni-app 云存储提交文件时间报错 Error: [INVALID_OPERATION] [100007] this env is not enable anonymous login的实战教程也可以访问 https://www.itying.com/category-93-b0.html

1 回复

更多关于uni-app 云存储提交文件时间报错 Error: [INVALID_OPERATION] [100007] this env is not enable anonymous login的实战教程也可以访问 https://www.itying.com/category-93-b0.html


上传一个云函数再试试

回到顶部