Explorar o código

fix:解决多余的符号导致报表无法打开问题

liujiayin %!s(int64=2) %!d(string=hai) anos
pai
achega
e0691ebaca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/business/platform/file/attachment/selector.vue

+ 1 - 1
src/business/platform/file/attachment/selector.vue

@@ -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