Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

火狐360等浏览器报错 #45

Closed
zhouyajun opened this issue Jan 30, 2019 · 1 comment
Closed

火狐360等浏览器报错 #45

zhouyajun opened this issue Jan 30, 2019 · 1 comment

Comments

@zhouyajun
Copy link

zhouyajun commented Jan 30, 2019

cos.sliceUploadFile({
        Bucket: Bucket,
        Region: Region,
        Key: file.name,
        Body: file,
        onHashProgress: function (progressData) {
            console.log('校验中', JSON.stringify(progressData));
        },
        onProgress: function (progressData) {
            console.log('上传中', JSON.stringify(progressData));
        },
    }, function (err, data) {
        console.log(err, data);
        //这里的data,360和火狐有时能获取到,有时获取不到
    });

data有时能获取到,有时获取不到

浏览器报错

XML 解析错误:找不到根元素

行 1,列 1: 播放@2x.png:1:1

TypeError: data is undefined

@carsonxu
Copy link
Collaborator

这里 issue close 找到是什么原因?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants