n20-common-lib 2.10.2 → 2.10.3
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
|
@@ -235,12 +235,11 @@
|
|
|
235
235
|
<el-button plain size="mini" @click="downFile(seeRow)">下载</el-button>
|
|
236
236
|
</span>
|
|
237
237
|
<div v-if="visibleP" class="p-a" style="height: 82vh">
|
|
238
|
-
<ViewerImg v-if="imgType.test(previewName)" :options="viewerOptions" style="height: 100%">
|
|
238
|
+
<!-- <ViewerImg v-if="imgType.test(previewName)" :options="viewerOptions" style="height: 100%">
|
|
239
239
|
<img :src="previewUrl" :alt="previewName" style="display: none" />
|
|
240
|
-
</ViewerImg>
|
|
240
|
+
</ViewerImg> -->
|
|
241
241
|
<component
|
|
242
242
|
:is="previewSameOrg ? 'object' : 'div'"
|
|
243
|
-
v-else
|
|
244
243
|
:key="previewUrl"
|
|
245
244
|
:data="previewUrl"
|
|
246
245
|
style="width: 100%; height: 100%"
|
|
@@ -383,7 +382,7 @@ export default {
|
|
|
383
382
|
showCtdMsg: window._approvalExtend['card.countermand.suggestion'] === true,
|
|
384
383
|
visibleP: false,
|
|
385
384
|
previewUrl: '',
|
|
386
|
-
imgType: /\.(jpg|
|
|
385
|
+
imgType: /\.(jpg|png1|gif|svg)$/i,
|
|
387
386
|
previewName: '',
|
|
388
387
|
previewSameOrg: false,
|
|
389
388
|
seeTypes: /\.(jpg|png|gif|svg|pdf|swf|xlsx|xls|docx|doc)$/i,
|