This commit is contained in:
@jyuhsin
2025-10-29 10:47:50 +08:00
parent a3fd6a1c26
commit 6e47110458
9 changed files with 258 additions and 15 deletions
File diff suppressed because one or more lines are too long
@@ -47,7 +47,7 @@ class PDFMenu extends BtnMenu {
</a>`
_this.editor.txt.html(html)
} else {
alert(response.data.msg + ',上传pdf失败,请联系管理员!')
alert(response.data.msg + '上传pdf失败,请联系管理员!')
_this.clearInputFile()
}
}).catch(error => {
@@ -60,7 +60,9 @@ class PDFMenu extends BtnMenu {
clearInputFile() {
const obj = document.getElementById('fileInput');
obj.outerHTML = obj.outerHTML
if(obj) {
obj.outerHTML = obj.outerHTML
}
}
tryChangeActive() {