diff --git a/src/components/scUpload/index.vue b/src/components/scUpload/index.vue
index c5d8abdc..34f83291 100644
--- a/src/components/scUpload/index.vue
+++ b/src/components/scUpload/index.vue
@@ -12,7 +12,7 @@
-
{{title}}
+ {{title}}
@@ -30,7 +30,7 @@
action: { type: String, default: "#" },
accept: { type: String, default: ".jpg, .png, .jpeg, .gif" },
maxSize: { type: Number, default: 10 },
- title: { type: String, default: "上传" },
+ title: { type: String, default: "" },
icon: { type: String, default: "el-icon-plus" },
onSuccess: { type: Function, default: () => { return true } }
},
diff --git a/src/components/scUpload/multiple.vue b/src/components/scUpload/multiple.vue
index b609ad2c..46d99fcb 100644
--- a/src/components/scUpload/multiple.vue
+++ b/src/components/scUpload/multiple.vue
@@ -25,7 +25,7 @@
-
{{title}}
+ {{title}}
@@ -40,7 +40,7 @@
action: { type: String, default: "#" },
accept: { type: String, default: ".jpg, .png, .jpeg, .gif" },
maxSize: { type: Number, default: 10 },
- title: { type: String, default: "上传" },
+ title: { type: String, default: "" },
icon: { type: String, default: "el-icon-plus" }
},
data(){
@@ -144,7 +144,6 @@
},
del(index){
this.fileList.splice(index, 1);
- this.$refs.upload.uploadFiles.splice(index-this.fileList.length-1, 1);
}
}
}
diff --git a/src/views/vab/upload.vue b/src/views/vab/upload.vue
index e15342b3..00ab5a27 100644
--- a/src/views/vab/upload.vue
+++ b/src/views/vab/upload.vue
@@ -3,8 +3,8 @@
-
-
+
+