소스 검색

test this point

night-cherry 1 개월 전
부모
커밋
985a6a22cc
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);