lsc před 6 dny
rodič
revize
bad29b86c1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      pbl.js

+ 1 - 1
pbl.js

@@ -244,7 +244,7 @@ router.route("/getFileD").all(async (req, res, next) => {
 router.route("/getFileArray").all(async (req, res, next) => {
     //mode的处理
     if (req.body[0]) {
-        let data = ecodeURIComponent(req.body[0].array).split(",");
+        let data = decodeURIComponent(req.body[0].array).split(",");
         // const array = data.map(item => item.documentid);
         const array = data;
         try {