提交代码

This commit is contained in:
guanj
2025-11-14 15:00:10 +08:00
parent 49dcf440ff
commit 0af955d05c
7 changed files with 38 additions and 27 deletions

View File

@@ -358,11 +358,11 @@ const onSubmit = () => {
formRef.value.validate(async (valid: boolean) => {
let url = ''
await html2canvas(document.querySelector('.GridLayout'), {
useCORS: true
}).then(canvas => {
url = canvas.toDataURL('image/png')
})
// await html2canvas(document.querySelector('.GridLayout'), {
// useCORS: true
// }).then(canvas => {
// url = canvas.toDataURL('image/png')
// })
form.pagePath = form.pagePath || ''
if (valid) {