lsc 1 giorno fa
parent
commit
9fce6bf60d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      js/Desktop/Onload.js

+ 1 - 1
js/Desktop/Onload.js

@@ -425,7 +425,7 @@ U.MD.D.getuser = function () {
         .then(response => response.text())
         .then(result => {
             // console.log(result)
-            let data = JSON.parse(result)
+            let data = JSON.parse(result).data
             return
             if(JSON.parse(result).code == 200){
                 let diqu = `${data.province}-${data.city}-${data.county}-${data.street}-${data.schoolName}`