Kaynağa Gözat

test this point

night-cherry 1 ay önce
ebeveyn
işleme
985a6a22cc
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -90,7 +90,7 @@ const app=createApp({
       const books=this.books;
       // console.log("------this : "+this);
       const request = new XMLHttpRequest();
-      request.onload=function(this){
+      request.onload=function(){
         console.log("--------parse tomcat server string--------");
         const res=JSON.parse(request.responseText);
 
@@ -108,7 +108,7 @@ const app=createApp({
         alert("this.tomcat_res : "+this.tomcat_res);
         
         // console.log("------books : "+books);
-        console.log("------this.books : "+this.books);
+        // console.log("------this.books : "+this.books);
         // books.add(res[0]);
       
         // console.log("------books : "+books);