|
|
@@ -532,7 +532,7 @@ export default {
|
|
|
handlePreview (index) {
|
|
|
const data = this.selectorValue[index]
|
|
|
if (this.operation_status !== 'fileTraining') {
|
|
|
- this.attachment = this.multiple ? this.selectorValue[index] : this.selectorValue``
|
|
|
+ this.attachment = this.multiple ? this.selectorValue[index] : this.selectorValue
|
|
|
if (supportFileTypes.includes(this.attachment.ext)) {
|
|
|
this.getPreview(index)
|
|
|
this.filePreviewVisible = true
|