摘要: 需求:打印页面的元素可配置,并且样式修改较多 解决:跳转新页面打印 当前页跳转到打印页面: var wind = window.open(`/index.php/home/printPur?id=${this.recordId}&type=${this.transType}`,'_blank'); 阅读全文
posted @ 2019-05-27 09:37 沉默的末1993 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 本质:是使用node中的babel将es6转码为es5再执行;导出的值允许变化 import基本用法: require 区别: require是在运行执行;import引入依赖,在编译时执行 阅读全文
posted @ 2019-05-27 09:16 沉默的末1993 阅读(160) 评论(0) 推荐(0) 编辑