質問編集履歴

1

文法の修正

2021/05/13 00:09

投稿

toyamal
toyamal

スコア28

test CHANGED
File without changes
test CHANGED
@@ -58,7 +58,7 @@
58
58
 
59
59
  const target = arr.slice(0,10);
60
60
 
61
- const suggest = arr.map((x) => {
61
+ const suggest = target.map((x) => {
62
62
 
63
63
  return {'label' : x.itemName.toString() , 'value' :x.code.toString()};
64
64