|
@@ -1523,13 +1523,13 @@ const generatePDF = (ele = pdfElement, isFirstTime = true) => {
|
|
|
(form.value.Title?.length ? `-${form.value.Title}` : '')
|
|
|
const fileName = isFirstTime ? prefix : prefix + '_2'
|
|
|
|
|
|
- sendPDF(pdf.output('datauristring'), fileName)
|
|
|
- .then(() => {
|
|
|
- resolve(true)
|
|
|
- })
|
|
|
- .catch((e) => {
|
|
|
- reject(e)
|
|
|
- })
|
|
|
+ // sendPDF(pdf.output('datauristring'), fileName)
|
|
|
+ // .then(() => {
|
|
|
+ resolve(true)
|
|
|
+ // })
|
|
|
+ // .catch((e) => {
|
|
|
+ // reject(e)
|
|
|
+ // })
|
|
|
// 本地备份一下
|
|
|
pdf.save(fileName + '.pdf')
|
|
|
})
|