在使用 vue-print-nb 插件的时候。封装v-print 组件 Printthecontract
在同一个.vue页面中俩个不同的组件 components1跟components2 调用同一个打印组件Printthecontract ,
在components1组件中打印内容正常,去components2的时候 打印内容无法更新
//同一个页面都调用这个打印组件的内容 数据循环都出来了 就是点击打印的时候打印预览里面的数据没有更新
<el-button v-print="print_01">打印模板</el-button>
<div :id="'print_' + item.id">
<CancellationForm ref="Cancellation" :infoData="infoData" />
</div>