n20-common-lib 2.22.31 → 2.22.32
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
|
@@ -233,7 +233,6 @@
|
|
|
233
233
|
<span class="file-upload-table_preview-pn">
|
|
234
234
|
<el-button round onlyicon plain size="mini" icon="el-icon-back" @click="preSee" />
|
|
235
235
|
<el-button round onlyicon plain size="mini" icon="el-icon-right" @click="nextSee" />
|
|
236
|
-
<el-button round onlyicon plain size="mini" icon="el-icon-full-screen" @click="openInNewWindow" />
|
|
237
236
|
</span>
|
|
238
237
|
|
|
239
238
|
<div v-if="visiblePv" class="p-a" style="height: 82vh">
|
|
@@ -452,6 +451,10 @@ export default {
|
|
|
452
451
|
hideTime: {
|
|
453
452
|
type: Boolean,
|
|
454
453
|
default: false
|
|
454
|
+
},
|
|
455
|
+
openTab: {
|
|
456
|
+
type: Boolean,
|
|
457
|
+
default: false
|
|
455
458
|
}
|
|
456
459
|
},
|
|
457
460
|
data() {
|
|
@@ -831,6 +834,12 @@ export default {
|
|
|
831
834
|
this.previewSameOrg = sameOrg
|
|
832
835
|
this.previewUrl = url
|
|
833
836
|
this.previewName = name
|
|
837
|
+
|
|
838
|
+
if (this.openTab) {
|
|
839
|
+
this.openInNewWindow(url)
|
|
840
|
+
return
|
|
841
|
+
}
|
|
842
|
+
|
|
834
843
|
this.visibleP = true
|
|
835
844
|
|
|
836
845
|
clearTimeout(this.visiblePvT)
|