소스 검색

object array operation done

night-cherry 1 개월 전
부모
커밋
9a8900fc8b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -112,7 +112,7 @@ const app=createApp({
         console.log("------  _books : "+_books);
         // console.log("------this.books : "+this.books);
         try{
-          for(item in res){
+          for(item of res){
             _books.push(item);
           }
           // _books.concat(res);