This commit is contained in:
Vanessa 2023-12-27 22:53:25 +08:00
parent df0e273a50
commit cc7b68b6e2
2 changed files with 18 additions and 13 deletions

View file

@ -197,7 +197,7 @@ export const exportConfig = {
setexprt();
});
});
exportConfig.element.querySelectorAll("input").forEach((item) => {
exportConfig.element.querySelectorAll("input, textarea").forEach((item) => {
if (item.id == "importData") {
item.addEventListener("change", (event: InputEvent & { target: HTMLInputElement }) => {
const formData = new FormData();