We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
版本信息: "vue": "^2.5.17", "vue-simple-uploader": "^0.7.6",
// 每个文件传输给后端之后,返回的信息 onFileSuccess(rootFile, file, response, chunk) { let res = JSON.parse(response) if (res.code == 10000) { // 服务端自定义的错误(即http状态码为200,但是是错误的情况),这种错误是Uploader无法拦截的 this.error(res.message) // 文件状态设为“失败” // this.statusSet(file.id, 'failed') file.completed = false file.error = true file.waiting = false file.chunks = [] file.testChunks = false } this.fileList = this.$refs['uploader'].fileList },
点击重试后,文件状态变为等待中而不是上传失败
The text was updated successfully, but these errors were encountered:
文件的状态可能出问题了,具体的看不太出来。。
Sorry, something went wrong.
No branches or pull requests
版本信息:
"vue": "^2.5.17",
"vue-simple-uploader": "^0.7.6",
// 每个文件传输给后端之后,返回的信息
onFileSuccess(rootFile, file, response, chunk) {
let res = JSON.parse(response)
if (res.code == 10000) {
// 服务端自定义的错误(即http状态码为200,但是是错误的情况),这种错误是Uploader无法拦截的
this.error(res.message)
// 文件状态设为“失败”
// this.statusSet(file.id, 'failed')
file.completed = false
file.error = true
file.waiting = false
file.chunks = []
file.testChunks = false
}
this.fileList = this.$refs['uploader'].fileList
},
点击重试后,文件状态变为等待中而不是上传失败
The text was updated successfully, but these errors were encountered: