n20-common-lib 2.3.19 → 2.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.3.19",
3
+ "version": "2.3.20",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -278,9 +278,7 @@ export default {
278
278
  async preview(row) {
279
279
  this.visibleP = true
280
280
  this.seeRow = row
281
- const blob = await axios.get(`/api/onlinePreview?beid=${row.beid}`, {}, { responseType: 'blob' })
282
- let url = URL.createObjectURL(blob)
283
- this.previewUrl = url
281
+ this.previewUrl = `/api/onlinePreview?beid=${row.beid}`
284
282
  this.previewName = row.fileName
285
283
  this.previewSameOrg = this.seeTypes.test(row.fileName)
286
284
  },
Binary file
Binary file
Binary file
Binary file
Binary file