doway-coms 1.4.77 → 1.4.79

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": "doway-coms",
3
- "version": "1.4.77",
3
+ "version": "1.4.79",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <div>
3
3
  <vxe-modal
4
+ ref="printModal"
4
5
  show-zoom
5
6
  append-to-body
6
7
  :maskClosable="false"
@@ -8,10 +9,10 @@
8
9
  resize
9
10
  width="80%"
10
11
  height="80%"
11
- :position="{top: 100, left: 100}"
12
+ :position="'center'"
12
13
  v-model="isShow"
13
14
  destroy-on-close
14
- :closable="true"
15
+ esc-closable
15
16
  title="打印预览"
16
17
  wrap-class-name="full-modal"
17
18
  @cancel="closeModal"
@@ -49,6 +50,7 @@ export default {
49
50
  },
50
51
  methods: {
51
52
  showPreview(url, data, isReplace, method, companyId) {
53
+ this.$refs.printModal.maximize()
52
54
  this.isShow = true
53
55
  if (!companyId) {
54
56
  companyId = null