@@ -366,7 +366,7 @@ export default {
methods: {
getpdf() {
const newDiv = document.querySelector('#pdfDom')
- const title = this.params.methodKey
+ const title = this.configData.methodName
html2Canvas(newDiv, {
allowTaint: false,
taintTest: false,
@@ -384,7 +384,7 @@ export default {
},
@@ -193,7 +193,7 @@ export default {
const dom = document.querySelector('#pdfDom')
- const title = this.form.methodName || '表单标题'
+ const title = this.form.fangAnLeiXing || '表单标题'
// 隐藏标题和导出按钮
const headerElement = document.getElementById('pdfHeader')