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