質問編集履歴
2
idにダブりがあったため修正いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
// {id: 6, text: "3週間ごと", week: 3, item_id: 2}
|
20
20
|
|
21
|
-
// {id:
|
21
|
+
// {id: 7, text: "4週間ごと", week: 4, item_id: 2}
|
22
22
|
|
23
23
|
|
24
24
|
|
1
コードの編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,19 +6,19 @@
|
|
6
6
|
|
7
7
|
```javascript
|
8
8
|
|
9
|
-
// {id: 1, text: "1週間ごと", week: 1
|
9
|
+
// {id: 1, text: "1週間ごと", week: 1, item_id: 1}
|
10
10
|
|
11
|
-
// {id: 2, text: "2週間ごと", week: 2
|
11
|
+
// {id: 2, text: "2週間ごと", week: 2, item_id: 1}
|
12
12
|
|
13
|
-
// {id: 3, text: "3週間ごと", week: 3
|
13
|
+
// {id: 3, text: "3週間ごと", week: 3, item_id: 1}
|
14
14
|
|
15
|
-
// {id: 4, text: "4週間ごと", week: 4
|
15
|
+
// {id: 4, text: "4週間ごと", week: 4, item_id: 1}
|
16
16
|
|
17
|
-
// {id: 5, text: "2週間ごと", week: 2
|
17
|
+
// {id: 5, text: "2週間ごと", week: 2, item_id: 2}
|
18
18
|
|
19
|
-
// {id: 6, text: "3週間ごと", week: 3
|
19
|
+
// {id: 6, text: "3週間ごと", week: 3, item_id: 2}
|
20
20
|
|
21
|
-
// {id: 6, text: "4週間ごと", week: 4
|
21
|
+
// {id: 6, text: "4週間ごと", week: 4, item_id: 2}
|
22
22
|
|
23
23
|
|
24
24
|
|