回答編集履歴
1
変数名が間違ってたので修正しました
test
CHANGED
@@ -24,11 +24,11 @@
|
|
24
24
|
|
25
25
|
console.log(categories);
|
26
26
|
|
27
|
-
|
27
|
+
categories.forEach((value) => {
|
28
28
|
|
29
29
|
console.log(value.name);
|
30
30
|
|
31
|
-
this.
|
31
|
+
this.selected.categories.push({ id: value.id, name:value.name });
|
32
32
|
|
33
33
|
});
|
34
34
|
|