Browse Source

查看文件fullfilename的命名

zhuliu 1 year ago
parent
commit
94a173e295
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/common.js

+ 1 - 1
src/utils/common.js

@@ -364,7 +364,7 @@ treeToArray(data,prop={children:children}){
       return ''
     }
     var src = this.checkViewer(guid)
-    var previewUrl = src + '&fullfilename=test.'+type
+    var previewUrl = src + '&fullfilename='guid +'.'+type
     return `http://${Config.staticURL}:8012/onlinePreview?url=` + encodeURIComponent(Base64.encode(window.location.origin+previewUrl))
   },