|
@@ -48,7 +48,9 @@ export default {
|
|
|
},
|
|
|
components: { zoomImage },
|
|
|
props: ["souseArr"],
|
|
|
- mounted() {},
|
|
|
+ mounted() {
|
|
|
+ console.log(this.souseArr)
|
|
|
+ },
|
|
|
methods: {
|
|
|
distinctFile(a) {
|
|
|
return Array.from(new Set(a));
|
|
@@ -80,6 +82,7 @@ export default {
|
|
|
if (xhr.status == 200) {
|
|
|
let src = that.getPreviewSrc(event.raw);
|
|
|
// that.tempArr.push(that.fileName);
|
|
|
+ console.log(that.fileName)
|
|
|
that.souseArr.push(that.fileName);
|
|
|
that.$emit("setPic", that.souseArr);
|
|
|
that.Uploading = false;
|