|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<el-dialog
|
|
|
- class="sub-main"
|
|
|
+ class="sub-main"
|
|
|
:visible.sync="visible"
|
|
|
:show-close="false"
|
|
|
:maskClosable="false"
|
|
@@ -8,7 +8,7 @@
|
|
|
@cancel="hideModal"
|
|
|
:width="350 + 'mm'"
|
|
|
>
|
|
|
- <div :spinning="spinning" style="min-height: 100px">
|
|
|
+ <div v-loading="spinning" style="min-height: 100px">
|
|
|
<div id="preview_content" ref="printDom"></div>
|
|
|
</div>
|
|
|
<template slot="title">
|
|
@@ -67,7 +67,6 @@ export default {
|
|
|
},
|
|
|
show(hiprintTemplate, printData, width = "210") {
|
|
|
this.visible = true;
|
|
|
- this.spinning = true;
|
|
|
this.width = width;
|
|
|
this.hiprintTemplate = hiprintTemplate;
|
|
|
this.printData = printData;
|