zydx-plus 1.19.103 → 1.19.104
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
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<button class="but" @click="complete">{{ butText }}</button>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="enclosure" v-if="uploadAttData.length > 0 && enclosureShow">
|
|
24
|
-
<p
|
|
24
|
+
<p :style="enclosureStyle">{{ enclosureText }}</p>
|
|
25
25
|
<div class="enclosure-list" v-for="(item,index) in uploadAttData">
|
|
26
26
|
<div class="enclosure-item">
|
|
27
27
|
<span>{{ index + 1 }}. {{ (item.name)? item.name : item.annexName }}</span>
|
|
@@ -122,8 +122,8 @@ export default {
|
|
|
122
122
|
enclosureStyle: {
|
|
123
123
|
type: Object,
|
|
124
124
|
default: {
|
|
125
|
-
'font-size': '
|
|
126
|
-
'font-weight': '
|
|
125
|
+
'font-size': '14px',
|
|
126
|
+
'font-weight': 'normal',
|
|
127
127
|
'color': '#000'
|
|
128
128
|
}
|
|
129
129
|
},
|
|
@@ -123,7 +123,7 @@ export default {
|
|
|
123
123
|
pdf.getPage(that.pageIndex).then(function (page) {
|
|
124
124
|
let canvas = document.getElementById(that.id)
|
|
125
125
|
let ctx = canvas.getContext('2d');
|
|
126
|
-
let viewport = page.getViewport({scale: 1})
|
|
126
|
+
let viewport = page.getViewport({scale: 1.2})
|
|
127
127
|
canvas.width = viewport.width * 2
|
|
128
128
|
canvas.height = viewport.height * 2
|
|
129
129
|
canvas.style.width = viewport.width + 'px'
|