摘要: 1.注册插件 import Print from '@/plugs/print' // 引入附件的js文件 Vue.use(Print) // 注册 2.设置ref,确定打印区域 <template> <section ref="print"> 打印内容 <div class="no-print"> 阅读全文
posted @ 2020-03-30 15:34 ljygirl 阅读(2161) 评论(0) 推荐(0) 编辑