...
|
...
|
@@ -100,6 +100,7 @@ export default { |
|
|
this.show = false;
|
|
|
this.$nextTick(() => {
|
|
|
this.show = true;
|
|
|
this.uploadList = this.$refs.upload.fileList;
|
|
|
})
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -109,7 +110,7 @@ export default { |
|
|
watch: {
|
|
|
defaultFile: function(newValue) {
|
|
|
if (newValue) {
|
|
|
this.$refs.upload.fileList.push({url: this.defaultFile});
|
|
|
this.defaultList = [{url: newValue}];
|
|
|
this.render();
|
|
|
}
|
|
|
}
|
...
|
...
|
|