src/components/UpPdfStamp/index.vue
@@ -24,7 +24,7 @@ stampWidth: 120, // 盖章宽度 stampHeight: 80, // 盖章高度 stampsName: '', stampsList: ['主任', '质量负责人', '技术负责人', '综合室', '通信', '电力', '装备', '储能', '射频'], stampsList: ['主任', '质量负责人', '技术负责人'], fileName: '文件名' }; }, @@ -125,7 +125,6 @@ // 渲染章 drawStamps(x, y, index) { var img = new Image(); console.log(this.stampsName) // 设置图片源 img.src = require("@/assets/stamps/" + this.stampsName + ".png"); // 替换为你的图片链接 let that = this