質問編集履歴
2
編集
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,6 +4,9 @@
|
|
4
4
|
わかる人ご教授お願いしたいです。
|
5
5
|
|
6
6
|
```ここに言語を入力
|
7
|
+
|
8
|
+
userEntities: UserEntity[] = []
|
9
|
+
|
7
10
|
class UserEntity {
|
8
11
|
userCode: string = ''
|
9
12
|
userName: string = ''
|
1
編集
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
addOffers(users: user[]) {
|
22
22
|
users.forEach((user) => {
|
23
|
-
this.usersEntities = [...this.usersEntities, new
|
23
|
+
this.usersEntities = [...this.usersEntities, new UserEntity(user)]
|
24
24
|
})
|
25
25
|
}
|
26
26
|
```
|