Commit 90b95da4 authored by zhengke's avatar zhengke

修改

parent ab2d0048
...@@ -209,7 +209,7 @@ export default { ...@@ -209,7 +209,7 @@ export default {
that.uploadToAli(path, newFile, callback) that.uploadToAli(path, newFile, callback)
} }
}else{ }else{
this.Error('请先配置上传'); that.Error('请先配置上传');
} }
}).catch(function (error) { }).catch(function (error) {
if(upInfo&&upInfo.IsDefault==1){ if(upInfo&&upInfo.IsDefault==1){
...@@ -220,7 +220,7 @@ export default { ...@@ -220,7 +220,7 @@ export default {
that.uploadToAli(path, fileObj, callback) that.uploadToAli(path, fileObj, callback)
} }
}else{ }else{
this.Error('请先配置上传'); that.Error('请先配置上传');
} }
}).always(function () { }).always(function () {
//不管成功或失败,都会执行 //不管成功或失败,都会执行
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment