night-cherry 1 месяц назад
Родитель
Сommit
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);