n20-common-lib 2.7.26 → 2.7.27
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
|
@@ -533,13 +533,13 @@ export default {
|
|
|
533
533
|
if (type === 'preview') {
|
|
534
534
|
// 预览
|
|
535
535
|
return {
|
|
536
|
-
url: `/onlinePreview?beid=${row[this.keys.
|
|
536
|
+
url: `/onlinePreview?beid=${row[this.keys.rowKey]}`,
|
|
537
537
|
name: row[this.keys.name] + '.html',
|
|
538
538
|
sameOrg: this.seeTypes.test(row[this.keys.name])
|
|
539
539
|
}
|
|
540
540
|
} else {
|
|
541
541
|
// 下载
|
|
542
|
-
let blob = await axios.get(`/neams/eamsbaserecord/download/${row[this.keys.
|
|
542
|
+
let blob = await axios.get(`/neams/eamsbaserecord/download/${row[this.keys.rowKey]}`, null, {
|
|
543
543
|
responseType: 'blob'
|
|
544
544
|
})
|
|
545
545
|
let name = row[this.keys.name] || blob.name
|