質問編集履歴

2

コードに追記

2020/10/08 01:56

投稿

gnuuu_07
gnuuu_07

スコア10

test CHANGED
File without changes
test CHANGED
@@ -92,11 +92,7 @@
92
92
 
93
93
  })
94
94
 
95
- console.log('詰め替え終了')
95
+ console.log('詰め替え終了')
96
-
97
- // sessionStorage.setItem('search-params',JSON.stringify(this.params))
98
-
99
- // this.getPosts();
100
96
 
101
97
  console.log(this.books)
102
98
 

1

コードに追記

2020/10/08 01:56

投稿

gnuuu_07
gnuuu_07

スコア10

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,30 @@
5
5
 
6
6
 
7
7
  ```Javascript
8
+
9
+ data(){
10
+
11
+ return {
12
+
13
+ keyword: 'サッカー',
14
+
15
+ totalItems: null,
16
+
17
+ index: 0,
18
+
19
+ books: [],
20
+
21
+ posts: [],
22
+
23
+ searching: false,
24
+
25
+ word: null,
26
+
27
+ currentPage: 1,
28
+
29
+ }
30
+
31
+ },
8
32
 
9
33
  methods: {
10
34