当数据在列表中时,如何仅获取一行数据?

时间:2019-02-11 04:20:58

标签: angularjs

$scope.settingList = data;

下面是数据的输出。

0: {id: 5, accountId: 8, name: "Support Email", value: "haozii_94@hotmail.com"}

1: {accountId: 8, name: "Domain Name"}

2: {accountId: 8, name: "Self Registration"}

3: {accountId: 8, name: "SMS Sender Id"}

4: {id: 8, accountId: 8, name: "Ticket System", value: "ajsdasd"}

长度:5 proto :数组(0)

我该怎么做才能将"Ticket system"的数据放到新的作用域?

0 个答案:

没有答案