|
@@ -164,13 +164,15 @@ export default {
|
|
|
if (url) {
|
|
|
this.uploaded.push({
|
|
|
url,
|
|
|
- name: file.name.split(".").shift(),
|
|
|
+ name: info.file.name.split(".").shift(),
|
|
|
clientShow: "YES"
|
|
|
});
|
|
|
} else {
|
|
|
this.$message.error("上传失败");
|
|
|
}
|
|
|
- } catch {}
|
|
|
+ } catch (err) {
|
|
|
+ console.log(err);
|
|
|
+ }
|
|
|
this.uploading = false;
|
|
|
},
|
|
|
handleRemove(file, fileList) {
|